pub struct StreamAttrs {
pub title: Option<String>,
pub metadata: Map<String, Value>,
}Fields§
§title: Option<String>§metadata: Map<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for StreamAttrs
impl Clone for StreamAttrs
Source§fn clone(&self) -> StreamAttrs
fn clone(&self) -> StreamAttrs
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 StreamAttrs
impl Debug for StreamAttrs
Source§impl Default for StreamAttrs
impl Default for StreamAttrs
Source§fn default() -> StreamAttrs
fn default() -> StreamAttrs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamAttrs
impl<'de> Deserialize<'de> for StreamAttrs
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StreamAttrs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StreamAttrs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StreamAttrs
Source§impl PartialEq for StreamAttrs
impl PartialEq for StreamAttrs
Source§impl Serialize for StreamAttrs
impl Serialize for StreamAttrs
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StreamAttrs
Auto Trait Implementations§
impl Freeze for StreamAttrs
impl RefUnwindSafe for StreamAttrs
impl Send for StreamAttrs
impl Sync for StreamAttrs
impl Unpin for StreamAttrs
impl UnsafeUnpin for StreamAttrs
impl UnwindSafe for StreamAttrs
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