pub struct StreamReconfiguration {
pub storage_class: Maybe<Option<StorageClass>>,
pub retention_policy: Maybe<Option<RetentionPolicy>>,
pub timestamping: Maybe<Option<TimestampingReconfiguration>>,
pub delete_on_empty: Maybe<Option<DeleteOnEmptyReconfiguration>>,
}Fields§
§storage_class: Maybe<Option<StorageClass>>Storage class for recent writes.
retention_policy: Maybe<Option<RetentionPolicy>>Retention policy for the stream. If unspecified, the default is to retain records for 7 days.
timestamping: Maybe<Option<TimestampingReconfiguration>>Timestamping behavior.
delete_on_empty: Maybe<Option<DeleteOnEmptyReconfiguration>>Delete-on-empty configuration.
Trait Implementations§
Source§impl Clone for StreamReconfiguration
impl Clone for StreamReconfiguration
Source§fn clone(&self) -> StreamReconfiguration
fn clone(&self) -> StreamReconfiguration
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 StreamReconfiguration
impl Debug for StreamReconfiguration
Source§impl<'de> Deserialize<'de> for StreamReconfiguration
impl<'de> Deserialize<'de> for StreamReconfiguration
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
Source§impl From<StreamReconfiguration> for StreamReconfiguration
impl From<StreamReconfiguration> for StreamReconfiguration
Source§fn from(value: StreamReconfiguration) -> Self
fn from(value: StreamReconfiguration) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StreamReconfiguration
impl PartialEq for StreamReconfiguration
Source§impl Serialize for StreamReconfiguration
impl Serialize for StreamReconfiguration
Source§impl TryFrom<StreamReconfiguration> for StreamReconfiguration
impl TryFrom<StreamReconfiguration> for StreamReconfiguration
Source§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
impl StructuralPartialEq for StreamReconfiguration
Auto Trait Implementations§
impl Freeze for StreamReconfiguration
impl RefUnwindSafe for StreamReconfiguration
impl Send for StreamReconfiguration
impl Sync for StreamReconfiguration
impl Unpin for StreamReconfiguration
impl UnwindSafe for StreamReconfiguration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more