pub struct ChannelDisconnectResponse {
pub channel: ChannelName,
pub disconnected: f64,
}Expand description
ChannelDisconnectResponse
JSON schema
{
"type": "object",
"required": [
"channel",
"disconnected"
],
"properties": {
"channel": {
"$ref": "#/components/schemas/ChannelName"
},
"disconnected": {
"description": "Number of routes disconnected",
"type": "number"
}
}
}Fields§
§channel: ChannelName§disconnected: f64Number of routes disconnected
Implementations§
Source§impl ChannelDisconnectResponse
impl ChannelDisconnectResponse
pub fn builder() -> ChannelDisconnectResponse
Trait Implementations§
Source§impl Clone for ChannelDisconnectResponse
impl Clone for ChannelDisconnectResponse
Source§fn clone(&self) -> ChannelDisconnectResponse
fn clone(&self) -> ChannelDisconnectResponse
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 ChannelDisconnectResponse
impl Debug for ChannelDisconnectResponse
Source§impl<'de> Deserialize<'de> for ChannelDisconnectResponse
impl<'de> Deserialize<'de> for ChannelDisconnectResponse
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<ChannelDisconnectResponse> for ChannelDisconnectResponse
impl From<ChannelDisconnectResponse> for ChannelDisconnectResponse
Source§fn from(value: ChannelDisconnectResponse) -> Self
fn from(value: ChannelDisconnectResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ChannelDisconnectResponse> for ChannelDisconnectResponse
impl TryFrom<ChannelDisconnectResponse> for ChannelDisconnectResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ChannelDisconnectResponse) -> Result<Self, ConversionError>
fn try_from(value: ChannelDisconnectResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ChannelDisconnectResponse
impl RefUnwindSafe for ChannelDisconnectResponse
impl Send for ChannelDisconnectResponse
impl Sync for ChannelDisconnectResponse
impl Unpin for ChannelDisconnectResponse
impl UnsafeUnpin for ChannelDisconnectResponse
impl UnwindSafe for ChannelDisconnectResponse
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