Struct ic_websocket_cdk::types::CanisterWsOpenArguments
source · pub struct CanisterWsOpenArguments {
pub client_nonce: u64,
pub gateway_principal: Principal,
}
Expand description
The arguments for ws_open.
Fields§
§client_nonce: u64
§gateway_principal: Principal
Implementations§
Trait Implementations§
source§impl CandidType for CanisterWsOpenArguments
impl CandidType for CanisterWsOpenArguments
source§impl Clone for CanisterWsOpenArguments
impl Clone for CanisterWsOpenArguments
source§fn clone(&self) -> CanisterWsOpenArguments
fn clone(&self) -> CanisterWsOpenArguments
Returns a copy 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 CanisterWsOpenArguments
impl Debug for CanisterWsOpenArguments
source§impl<'de> Deserialize<'de> for CanisterWsOpenArguments
impl<'de> Deserialize<'de> for CanisterWsOpenArguments
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 PartialEq for CanisterWsOpenArguments
impl PartialEq for CanisterWsOpenArguments
source§fn eq(&self, other: &CanisterWsOpenArguments) -> bool
fn eq(&self, other: &CanisterWsOpenArguments) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CanisterWsOpenArguments
impl Serialize for CanisterWsOpenArguments
impl Eq for CanisterWsOpenArguments
impl StructuralPartialEq for CanisterWsOpenArguments
Auto Trait Implementations§
impl RefUnwindSafe for CanisterWsOpenArguments
impl Send for CanisterWsOpenArguments
impl Sync for CanisterWsOpenArguments
impl Unpin for CanisterWsOpenArguments
impl UnwindSafe for CanisterWsOpenArguments
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