Struct concordium_std::OwnedReceiveName [−][src]
pub struct OwnedReceiveName(_);
Expand description
A receive name (owned version). Expected format: “<contract_name>.<func_name>”.
Implementations
Create a new OwnedReceiveName and check the format. Expected format: “<contract_name>.<func_name>”.
Create a new OwnedReceiveName without checking the format. Expected format: “<contract_name>.<func_name>”.
Get receive name used on chain: “<contract_name>.<func_name>”.
Try to extract the contract name by splitting at the first dot.
Try to extract the func name by splitting at the first dot.
Convert to ReceiveName by reference.
Trait Implementations
Attempt to read a structure from a given source, failing if an error occurs during deserialization or reading. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OwnedReceiveName
impl Send for OwnedReceiveName
impl Sync for OwnedReceiveName
impl Unpin for OwnedReceiveName
impl UnwindSafe for OwnedReceiveName
Blanket Implementations
Mutably borrows from an owned value. Read more