Struct bee_tangle::MessageRef [−][src]
pub struct MessageRef(_);
A thread-safe reference to a Message
.
Methods from Deref<Target = Message>
pub fn id(&self) -> (MessageId, Vec<u8, Global>)
[src]
Computes the identifier of the message.
pub fn network_id(&self) -> u64
[src]
Returns the network id of a Message
.
pub fn parents(&self) -> &Parents
[src]
Returns the parents of a Message
.
pub fn payload(&self) -> &Option<Payload>
[src]
Returns the optional payload of a Message
.
pub fn nonce(&self) -> u64
[src]
Returns the nonce of a Message
.
Trait Implementations
impl Clone for MessageRef
[src]
impl Clone for MessageRef
[src]fn clone(&self) -> MessageRef
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for MessageRef
impl RefUnwindSafe for MessageRef
impl Send for MessageRef
impl Send for MessageRef
impl Sync for MessageRef
impl Sync for MessageRef
impl Unpin for MessageRef
impl Unpin for MessageRef
impl UnwindSafe for MessageRef
impl UnwindSafe for MessageRef