pub struct ConfigDataRetention {
pub enable_message_deletion: Option<bool>,
pub enable_file_deletion: Option<bool>,
pub enable_boards_deletion: Option<bool>,
pub message_retention_hours: Option<i32>,
pub file_retention_hours: Option<i32>,
pub boards_retention_days: Option<i32>,
pub deletion_job_start_time: Option<String>,
pub batch_size: Option<i32>,
pub time_between_batches_milliseconds: Option<i32>,
pub retention_ids_batch_size: Option<i32>,
}Fields§
§enable_message_deletion: Option<bool>§enable_file_deletion: Option<bool>§enable_boards_deletion: Option<bool>§message_retention_hours: Option<i32>§file_retention_hours: Option<i32>§boards_retention_days: Option<i32>§deletion_job_start_time: Option<String>§batch_size: Option<i32>§time_between_batches_milliseconds: Option<i32>§retention_ids_batch_size: Option<i32>Implementations§
Source§impl ConfigDataRetention
impl ConfigDataRetention
Sourcepub fn enable_message_deletion(&self) -> bool
pub fn enable_message_deletion(&self) -> bool
Returns the value of enable_message_deletion, or the default value if enable_message_deletion is unset.
Sourcepub fn enable_file_deletion(&self) -> bool
pub fn enable_file_deletion(&self) -> bool
Returns the value of enable_file_deletion, or the default value if enable_file_deletion is unset.
Sourcepub fn enable_boards_deletion(&self) -> bool
pub fn enable_boards_deletion(&self) -> bool
Returns the value of enable_boards_deletion, or the default value if enable_boards_deletion is unset.
Sourcepub fn message_retention_hours(&self) -> i32
pub fn message_retention_hours(&self) -> i32
Returns the value of message_retention_hours, or the default value if message_retention_hours is unset.
Sourcepub fn file_retention_hours(&self) -> i32
pub fn file_retention_hours(&self) -> i32
Returns the value of file_retention_hours, or the default value if file_retention_hours is unset.
Sourcepub fn boards_retention_days(&self) -> i32
pub fn boards_retention_days(&self) -> i32
Returns the value of boards_retention_days, or the default value if boards_retention_days is unset.
Sourcepub fn deletion_job_start_time(&self) -> &str
pub fn deletion_job_start_time(&self) -> &str
Returns the value of deletion_job_start_time, or the default value if deletion_job_start_time is unset.
Sourcepub fn batch_size(&self) -> i32
pub fn batch_size(&self) -> i32
Returns the value of batch_size, or the default value if batch_size is unset.
Sourcepub fn time_between_batches_milliseconds(&self) -> i32
pub fn time_between_batches_milliseconds(&self) -> i32
Returns the value of time_between_batches_milliseconds, or the default value if time_between_batches_milliseconds is unset.
Sourcepub fn retention_ids_batch_size(&self) -> i32
pub fn retention_ids_batch_size(&self) -> i32
Returns the value of retention_ids_batch_size, or the default value if retention_ids_batch_size is unset.
Trait Implementations§
Source§impl Clone for ConfigDataRetention
impl Clone for ConfigDataRetention
Source§fn clone(&self) -> ConfigDataRetention
fn clone(&self) -> ConfigDataRetention
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigDataRetention
impl Debug for ConfigDataRetention
Source§impl Default for ConfigDataRetention
impl Default for ConfigDataRetention
Source§impl<'de> Deserialize<'de> for ConfigDataRetention
impl<'de> Deserialize<'de> for ConfigDataRetention
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Message for ConfigDataRetention
impl Message for ConfigDataRetention
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ConfigDataRetention
impl PartialEq for ConfigDataRetention
Source§impl Serialize for ConfigDataRetention
impl Serialize for ConfigDataRetention
impl StructuralPartialEq for ConfigDataRetention
Auto Trait Implementations§
impl Freeze for ConfigDataRetention
impl RefUnwindSafe for ConfigDataRetention
impl Send for ConfigDataRetention
impl Sync for ConfigDataRetention
impl Unpin for ConfigDataRetention
impl UnwindSafe for ConfigDataRetention
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request