📝 docs(retention): add documentation for the retention struct
- add documentation for the `new` function
This commit is contained in:
committed by
Jeremiah Russell
parent
19513f51a9
commit
92e88c4261
@@ -19,7 +19,8 @@ impl Default for Retention {
|
||||
}
|
||||
|
||||
impl Retention {
|
||||
pub(crate) fn new(age: MessageAge, generate_label: bool) -> Self {
|
||||
/// Create a new retention struct
|
||||
pub fn new(age: MessageAge, generate_label: bool) -> Self {
|
||||
Retention {
|
||||
age,
|
||||
generate_label,
|
||||
|
||||
Reference in New Issue
Block a user