pub struct ApplicationFrame {
pub head: ApplicationHead,
pub body: Option<BodyId>,
}Fields§
§head: ApplicationHead§body: Option<BodyId>Implementations§
Source§impl ApplicationFrame
impl ApplicationFrame
pub fn new(head: ApplicationHead, body: Option<BodyId>) -> Self
pub fn from_envelope(envelope: &Envelope) -> Result<Self, CoreError>
pub fn into_envelope(self) -> Envelope
Trait Implementations§
Source§impl Clone for ApplicationFrame
impl Clone for ApplicationFrame
Source§fn clone(&self) -> ApplicationFrame
fn clone(&self) -> ApplicationFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApplicationFrame
impl Debug for ApplicationFrame
Source§impl PartialEq for ApplicationFrame
impl PartialEq for ApplicationFrame
impl StructuralPartialEq for ApplicationFrame
Auto Trait Implementations§
impl Freeze for ApplicationFrame
impl RefUnwindSafe for ApplicationFrame
impl Send for ApplicationFrame
impl Sync for ApplicationFrame
impl Unpin for ApplicationFrame
impl UnsafeUnpin for ApplicationFrame
impl UnwindSafe for ApplicationFrame
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