Enum sn_messaging::client::Cmd [−][src]
pub enum Cmd { Data { cmd: DataCmd, payment: TransferAgreementProof, }, Transfer(TransferCmd), }
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
impl Cmd
[src]
impl Cmd
[src]pub fn dst_address(&self) -> XorName
[src]
Returns the address of the destination for cuest
.
Trait Implementations
impl<'de> Deserialize<'de> for Cmd
[src]
impl<'de> Deserialize<'de> for Cmd
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralEq for Cmd
[src]
impl StructuralEq for Cmd
[src]impl StructuralPartialEq for Cmd
[src]
impl StructuralPartialEq for Cmd
[src]Auto Trait Implementations
impl RefUnwindSafe for Cmd
impl RefUnwindSafe for Cmd
impl UnwindSafe for Cmd
impl UnwindSafe for Cmd
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,