pub struct StreamSpec {
pub doc: Doc,
pub mime: Vec<String>,
pub required: bool,
}Fields§
§doc: Doc§mime: Vec<String>§required: boolTrait Implementations§
Source§impl Clone for StreamSpec
impl Clone for StreamSpec
Source§fn clone(&self) -> StreamSpec
fn clone(&self) -> StreamSpec
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 StreamSpec
impl Debug for StreamSpec
Source§impl<'de> Deserialize<'de> for StreamSpec
impl<'de> Deserialize<'de> for StreamSpec
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StreamSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StreamSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StreamSpec
Source§impl From<&StreamSpec> for StreamSpec
impl From<&StreamSpec> for StreamSpec
Source§fn from(s: &StreamSpec) -> StreamSpec
fn from(s: &StreamSpec) -> StreamSpec
Converts to this type from the input type.
Source§impl From<&StreamSpec> for StreamSpec
impl From<&StreamSpec> for StreamSpec
Source§fn from(s: &StreamSpec) -> StreamSpec
fn from(s: &StreamSpec) -> StreamSpec
Converts to this type from the input type.
Source§impl FromSchema for StreamSpec
impl FromSchema for StreamSpec
fn from_value(value: &SchemaValue) -> Result<StreamSpec, FromSchemaError>
Source§impl IntoSchema for StreamSpec
impl IntoSchema for StreamSpec
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
Source§impl PartialEq for StreamSpec
impl PartialEq for StreamSpec
Source§impl Serialize for StreamSpec
impl Serialize for StreamSpec
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 StreamSpec
Auto Trait Implementations§
impl Freeze for StreamSpec
impl RefUnwindSafe for StreamSpec
impl Send for StreamSpec
impl Sync for StreamSpec
impl Unpin for StreamSpec
impl UnsafeUnpin for StreamSpec
impl UnwindSafe for StreamSpec
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