pub struct BasinConfig {
pub default_stream_config: Option<StreamConfig>,
pub create_stream_on_append: bool,
pub create_stream_on_read: bool,
}Fields§
§default_stream_config: Option<StreamConfig>Default stream configuration.
create_stream_on_append: boolCreate stream on append if it doesn’t exist, using the default stream configuration.
create_stream_on_read: boolCreate stream on read if it doesn’t exist, using the default stream configuration.
Trait Implementations§
Source§impl Clone for BasinConfig
impl Clone for BasinConfig
Source§fn clone(&self) -> BasinConfig
fn clone(&self) -> BasinConfig
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 BasinConfig
impl Debug for BasinConfig
Source§impl<'de> Deserialize<'de> for BasinConfig
impl<'de> Deserialize<'de> for BasinConfig
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<BasinConfig> for BasinConfig
impl From<BasinConfig> for BasinConfig
Source§fn from(value: BasinConfig) -> Self
fn from(value: BasinConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BasinConfig
impl PartialEq for BasinConfig
Source§impl Serialize for BasinConfig
impl Serialize for BasinConfig
Source§impl TryFrom<BasinConfig> for BasinConfig
impl TryFrom<BasinConfig> for BasinConfig
Source§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
impl StructuralPartialEq for BasinConfig
Auto Trait Implementations§
impl Freeze for BasinConfig
impl RefUnwindSafe for BasinConfig
impl Send for BasinConfig
impl Sync for BasinConfig
impl Unpin for BasinConfig
impl UnwindSafe for BasinConfig
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