pub struct StreamLifecycle {
pub data_deleted_after: Option<String>,
pub retained_after_soft_delete: String,
}Expand description
Lifecycle settings for a stream.
Fields§
§data_deleted_after: Option<String>ISO-8601 formatted date string for when data in the stream will be automatically deleted.
retained_after_soft_delete: StringISO-8601 formatted date string for when the stream will be deleted once it is soft-deleted.
Trait Implementations§
Source§impl Clone for StreamLifecycle
impl Clone for StreamLifecycle
Source§fn clone(&self) -> StreamLifecycle
fn clone(&self) -> StreamLifecycle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamLifecycle
impl Debug for StreamLifecycle
Source§impl Default for StreamLifecycle
impl Default for StreamLifecycle
Source§fn default() -> StreamLifecycle
fn default() -> StreamLifecycle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamLifecycle
impl<'de> Deserialize<'de> for StreamLifecycle
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StreamLifecycle
impl RefUnwindSafe for StreamLifecycle
impl Send for StreamLifecycle
impl Sync for StreamLifecycle
impl Unpin for StreamLifecycle
impl UnwindSafe for StreamLifecycle
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
Mutably borrows from an owned value. Read more