pub struct ChannelDisconnectRequest {
pub account_id: Option<String>,
pub agent_wallet: String,
pub hai_id: Option<String>,
pub scope: Option<ChannelScope>,
pub thread_id: Option<String>,
pub user_address: Option<String>,
}Expand description
ChannelDisconnectRequest
JSON schema
{
"type": "object",
"required": [
"agentWallet"
],
"properties": {
"accountId": {
"type": "string"
},
"agentWallet": {
"type": "string"
},
"haiId": {
"type": "string"
},
"scope": {
"$ref": "#/components/schemas/ChannelScope"
},
"threadId": {
"type": "string"
},
"userAddress": {
"type": "string"
}
}
}Fields§
§account_id: Option<String>§agent_wallet: String§hai_id: Option<String>§scope: Option<ChannelScope>§thread_id: Option<String>§user_address: Option<String>Implementations§
Source§impl ChannelDisconnectRequest
impl ChannelDisconnectRequest
pub fn builder() -> ChannelDisconnectRequest
Trait Implementations§
Source§impl Clone for ChannelDisconnectRequest
impl Clone for ChannelDisconnectRequest
Source§fn clone(&self) -> ChannelDisconnectRequest
fn clone(&self) -> ChannelDisconnectRequest
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 ChannelDisconnectRequest
impl Debug for ChannelDisconnectRequest
Source§impl<'de> Deserialize<'de> for ChannelDisconnectRequest
impl<'de> Deserialize<'de> for ChannelDisconnectRequest
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<ChannelDisconnectRequest> for ChannelDisconnectRequest
impl From<ChannelDisconnectRequest> for ChannelDisconnectRequest
Source§fn from(value: ChannelDisconnectRequest) -> Self
fn from(value: ChannelDisconnectRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for ChannelDisconnectRequest
impl Serialize for ChannelDisconnectRequest
Source§impl TryFrom<ChannelDisconnectRequest> for ChannelDisconnectRequest
impl TryFrom<ChannelDisconnectRequest> for ChannelDisconnectRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ChannelDisconnectRequest) -> Result<Self, ConversionError>
fn try_from(value: ChannelDisconnectRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ChannelDisconnectRequest
impl RefUnwindSafe for ChannelDisconnectRequest
impl Send for ChannelDisconnectRequest
impl Sync for ChannelDisconnectRequest
impl Unpin for ChannelDisconnectRequest
impl UnsafeUnpin for ChannelDisconnectRequest
impl UnwindSafe for ChannelDisconnectRequest
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