pub struct ChannelLinkResponseAction {
pub command: Option<String>,
pub label: Option<String>,
pub socket: Option<String>,
pub type_: Option<ChannelLinkResponseActionType>,
pub url: Option<String>,
}Expand description
ChannelLinkResponseAction
JSON schema
{
"type": "object",
"properties": {
"command": {
"type": "string"
},
"label": {
"type": "string"
},
"socket": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"redirect",
"websocket",
"oauth"
]
},
"url": {
"type": [
"string",
"null"
]
}
}
}Fields§
§command: Option<String>§label: Option<String>§socket: Option<String>§type_: Option<ChannelLinkResponseActionType>§url: Option<String>Implementations§
Source§impl ChannelLinkResponseAction
impl ChannelLinkResponseAction
pub fn builder() -> ChannelLinkResponseAction
Trait Implementations§
Source§impl Clone for ChannelLinkResponseAction
impl Clone for ChannelLinkResponseAction
Source§fn clone(&self) -> ChannelLinkResponseAction
fn clone(&self) -> ChannelLinkResponseAction
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 ChannelLinkResponseAction
impl Debug for ChannelLinkResponseAction
Source§impl Default for ChannelLinkResponseAction
impl Default for ChannelLinkResponseAction
Source§impl<'de> Deserialize<'de> for ChannelLinkResponseAction
impl<'de> Deserialize<'de> for ChannelLinkResponseAction
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<ChannelLinkResponseAction> for ChannelLinkResponseAction
impl From<ChannelLinkResponseAction> for ChannelLinkResponseAction
Source§fn from(value: ChannelLinkResponseAction) -> Self
fn from(value: ChannelLinkResponseAction) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ChannelLinkResponseAction> for ChannelLinkResponseAction
impl TryFrom<ChannelLinkResponseAction> for ChannelLinkResponseAction
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ChannelLinkResponseAction) -> Result<Self, ConversionError>
fn try_from(value: ChannelLinkResponseAction) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ChannelLinkResponseAction
impl RefUnwindSafe for ChannelLinkResponseAction
impl Send for ChannelLinkResponseAction
impl Sync for ChannelLinkResponseAction
impl Unpin for ChannelLinkResponseAction
impl UnsafeUnpin for ChannelLinkResponseAction
impl UnwindSafe for ChannelLinkResponseAction
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