pub struct ShortEndpointConfig {
pub stream: String,
}Expand description
Schema definition for endpoint config that only includes the stream field.
JSON schema
{
"description": "Schema definition for endpoint config that only includes the stream field.",
"type": "object",
"required": [
"stream"
],
"properties": {
"stream": {
"description": "The name of the stream.",
"type": "string"
}
}
}Fields§
§stream: StringThe name of the stream.
Implementations§
Source§impl ShortEndpointConfig
impl ShortEndpointConfig
pub fn builder() -> ShortEndpointConfig
Trait Implementations§
Source§impl Clone for ShortEndpointConfig
impl Clone for ShortEndpointConfig
Source§fn clone(&self) -> ShortEndpointConfig
fn clone(&self) -> ShortEndpointConfig
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 ShortEndpointConfig
impl Debug for ShortEndpointConfig
Source§impl<'de> Deserialize<'de> for ShortEndpointConfig
impl<'de> Deserialize<'de> for ShortEndpointConfig
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<&ShortEndpointConfig> for ShortEndpointConfig
impl From<&ShortEndpointConfig> for ShortEndpointConfig
Source§fn from(value: &ShortEndpointConfig) -> Self
fn from(value: &ShortEndpointConfig) -> Self
Converts to this type from the input type.
Source§impl From<ShortEndpointConfig> for ShortEndpointConfig
impl From<ShortEndpointConfig> for ShortEndpointConfig
Source§fn from(value: ShortEndpointConfig) -> Self
fn from(value: ShortEndpointConfig) -> Self
Converts to this type from the input type.
Source§impl Serialize for ShortEndpointConfig
impl Serialize for ShortEndpointConfig
Source§impl TryFrom<ShortEndpointConfig> for ShortEndpointConfig
impl TryFrom<ShortEndpointConfig> for ShortEndpointConfig
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ShortEndpointConfig) -> Result<Self, ConversionError>
fn try_from(value: ShortEndpointConfig) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ShortEndpointConfig
impl RefUnwindSafe for ShortEndpointConfig
impl Send for ShortEndpointConfig
impl Sync for ShortEndpointConfig
impl Unpin for ShortEndpointConfig
impl UnwindSafe for ShortEndpointConfig
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