pub struct StreamOptions {
pub include_obfuscation: Option<bool>,
pub include_usage: Option<bool>,
}Expand description
StreamOptions
JSON schema
{
"type": "object",
"properties": {
"include_obfuscation": {
"type": "boolean"
},
"include_usage": {
"type": "boolean"
}
},
"additionalProperties": true
}Fields§
§include_obfuscation: Option<bool>§include_usage: Option<bool>Implementations§
Source§impl StreamOptions
impl StreamOptions
pub fn builder() -> StreamOptions
Trait Implementations§
Source§impl Clone for StreamOptions
impl Clone for StreamOptions
Source§fn clone(&self) -> StreamOptions
fn clone(&self) -> StreamOptions
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 StreamOptions
impl Debug for StreamOptions
Source§impl Default for StreamOptions
impl Default for StreamOptions
Source§impl<'de> Deserialize<'de> for StreamOptions
impl<'de> Deserialize<'de> for StreamOptions
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<StreamOptions> for StreamOptions
impl From<StreamOptions> for StreamOptions
Source§fn from(value: StreamOptions) -> Self
fn from(value: StreamOptions) -> Self
Converts to this type from the input type.
Source§impl Serialize for StreamOptions
impl Serialize for StreamOptions
Source§impl TryFrom<StreamOptions> for StreamOptions
impl TryFrom<StreamOptions> for StreamOptions
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: StreamOptions) -> Result<Self, ConversionError>
fn try_from(value: StreamOptions) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for StreamOptions
impl RefUnwindSafe for StreamOptions
impl Send for StreamOptions
impl Sync for StreamOptions
impl Unpin for StreamOptions
impl UnsafeUnpin for StreamOptions
impl UnwindSafe for StreamOptions
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