Enum sn_messaging::client::Cmd [−][src]
pub enum Cmd { Data { cmd: DataCmd, payment: TransferAgreementProof, }, Transfer(TransferCmd), }
Expand description
Command messages for data or transfer operations
Variants
Commands for manipulating data
Show fields
Fields of Data
cmd: DataCmd
The data command struct itself
payment: TransferAgreementProof
Proof of payment for the data command
Transfer(TransferCmd)
Command for transfering safe network tokens
Implementations
Returns the address of the destination for cuest
.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Cmd
impl UnwindSafe for Cmd
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V