Struct linera_execution::RawOutgoingMessage 
source · pub struct RawOutgoingMessage<Message, Grant = Resources> {
    pub destination: Destination,
    pub authenticated: bool,
    pub grant: Grant,
    pub kind: MessageKind,
    pub message: Message,
}Expand description
A message together with routing information.
Fields§
§destination: DestinationThe destination of the message.
authenticated: boolWhether the message is authenticated.
grant: GrantThe grant needed for message execution, typically specified as an Amount or as Resources.
kind: MessageKindThe kind of outgoing message being sent.
message: MessageThe message itself.
Implementations§
source§impl<Message> RawOutgoingMessage<Message, Resources>
 
impl<Message> RawOutgoingMessage<Message, Resources>
pub fn into_priced( self, policy: &ResourceControlPolicy ) -> Result<RawOutgoingMessage<Message, Amount>, ArithmeticError>
Trait Implementations§
source§impl<Message: Clone, Grant: Clone> Clone for RawOutgoingMessage<Message, Grant>
 
impl<Message: Clone, Grant: Clone> Clone for RawOutgoingMessage<Message, Grant>
source§fn clone(&self) -> RawOutgoingMessage<Message, Grant>
 
fn clone(&self) -> RawOutgoingMessage<Message, Grant>
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<Message, Grant> Debug for RawOutgoingMessage<Message, Grant>
 
impl<Message, Grant> Debug for RawOutgoingMessage<Message, Grant>
source§impl<Message> From<SendMessageRequest<Message>> for RawOutgoingMessage<Message, Resources>
 
impl<Message> From<SendMessageRequest<Message>> for RawOutgoingMessage<Message, Resources>
source§fn from(request: SendMessageRequest<Message>) -> Self
 
fn from(request: SendMessageRequest<Message>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Message, Grant> Freeze for RawOutgoingMessage<Message, Grant>
impl<Message, Grant> RefUnwindSafe for RawOutgoingMessage<Message, Grant>where
    Grant: RefUnwindSafe,
    Message: RefUnwindSafe,
impl<Message, Grant> Send for RawOutgoingMessage<Message, Grant>
impl<Message, Grant> Sync for RawOutgoingMessage<Message, Grant>
impl<Message, Grant> Unpin for RawOutgoingMessage<Message, Grant>
impl<Message, Grant> UnwindSafe for RawOutgoingMessage<Message, Grant>where
    Grant: UnwindSafe,
    Message: UnwindSafe,
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