pub struct StreamConfigHeader(pub OptionalStreamConfig);Expand description
Value of the s2-stream-config header: a JSON-encoded StreamConfig to apply over the
basin’s default stream config if the stream is created on append or read. Ignored if the
stream already exists.
Tuple Fields§
§0: OptionalStreamConfigTrait Implementations§
Source§impl Clone for StreamConfigHeader
impl Clone for StreamConfigHeader
Source§fn clone(&self) -> StreamConfigHeader
fn clone(&self) -> StreamConfigHeader
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 StreamConfigHeader
impl Debug for StreamConfigHeader
impl Eq for StreamConfigHeader
Source§impl FromStr for StreamConfigHeader
impl FromStr for StreamConfigHeader
Source§impl ParseableHeader for StreamConfigHeader
impl ParseableHeader for StreamConfigHeader
fn name() -> &'static HeaderName
Source§impl PartialEq for StreamConfigHeader
impl PartialEq for StreamConfigHeader
impl StructuralPartialEq for StreamConfigHeader
Auto Trait Implementations§
impl Freeze for StreamConfigHeader
impl RefUnwindSafe for StreamConfigHeader
impl Send for StreamConfigHeader
impl Sync for StreamConfigHeader
impl Unpin for StreamConfigHeader
impl UnsafeUnpin for StreamConfigHeader
impl UnwindSafe for StreamConfigHeader
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