pub struct OptionalStreamConfig {
pub storage_class: Option<StorageClass>,
pub retention_policy: Option<RetentionPolicy>,
pub timestamping: OptionalTimestampingConfig,
pub delete_on_empty: OptionalDeleteOnEmptyConfig,
}Fields§
§storage_class: Option<StorageClass>§retention_policy: Option<RetentionPolicy>§timestamping: OptionalTimestampingConfig§delete_on_empty: OptionalDeleteOnEmptyConfigImplementations§
Source§impl OptionalStreamConfig
impl OptionalStreamConfig
pub fn reconfigure(self, reconfiguration: StreamReconfiguration) -> Self
pub fn merge(self, basin_defaults: Self) -> StreamConfig
Trait Implementations§
Source§impl Clone for OptionalStreamConfig
impl Clone for OptionalStreamConfig
Source§fn clone(&self) -> OptionalStreamConfig
fn clone(&self) -> OptionalStreamConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OptionalStreamConfig
impl Debug for OptionalStreamConfig
Source§impl Default for OptionalStreamConfig
impl Default for OptionalStreamConfig
Source§fn default() -> OptionalStreamConfig
fn default() -> OptionalStreamConfig
Returns the “default value” for a type. Read more
Source§impl From<OptionalStreamConfig> for StreamConfig
impl From<OptionalStreamConfig> for StreamConfig
Source§fn from(value: OptionalStreamConfig) -> Self
fn from(value: OptionalStreamConfig) -> Self
Converts to this type from the input type.
Source§impl From<OptionalStreamConfig> for StreamReconfiguration
impl From<OptionalStreamConfig> for StreamReconfiguration
Source§fn from(value: OptionalStreamConfig) -> Self
fn from(value: OptionalStreamConfig) -> Self
Converts to this type from the input type.
Source§impl From<StreamConfig> for OptionalStreamConfig
impl From<StreamConfig> for OptionalStreamConfig
Source§fn from(value: StreamConfig) -> Self
fn from(value: StreamConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OptionalStreamConfig
impl PartialEq for OptionalStreamConfig
Source§fn eq(&self, other: &OptionalStreamConfig) -> bool
fn eq(&self, other: &OptionalStreamConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OptionalStreamConfig
impl StructuralPartialEq for OptionalStreamConfig
Auto Trait Implementations§
impl Freeze for OptionalStreamConfig
impl RefUnwindSafe for OptionalStreamConfig
impl Send for OptionalStreamConfig
impl Sync for OptionalStreamConfig
impl Unpin for OptionalStreamConfig
impl UnsafeUnpin for OptionalStreamConfig
impl UnwindSafe for OptionalStreamConfig
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