pub struct EnvelopeBox {
pub id: i32,
pub envelope: Box<OApiEnvelope>,
}Fields§
§id: i32§envelope: Box<OApiEnvelope>Implementations§
Source§impl EnvelopeBox
impl EnvelopeBox
pub fn new(id: i32, envelope: OApiEnvelope) -> EnvelopeBox
Trait Implementations§
Source§impl Clone for EnvelopeBox
impl Clone for EnvelopeBox
Source§fn clone(&self) -> EnvelopeBox
fn clone(&self) -> EnvelopeBox
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 EnvelopeBox
impl Debug for EnvelopeBox
Source§impl Default for EnvelopeBox
impl Default for EnvelopeBox
Source§fn default() -> EnvelopeBox
fn default() -> EnvelopeBox
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnvelopeBox
impl<'de> Deserialize<'de> for EnvelopeBox
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EnvelopeBox
impl PartialEq for EnvelopeBox
Source§fn eq(&self, other: &EnvelopeBox) -> bool
fn eq(&self, other: &EnvelopeBox) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnvelopeBox
impl Serialize for EnvelopeBox
impl StructuralPartialEq for EnvelopeBox
Auto Trait Implementations§
impl Freeze for EnvelopeBox
impl RefUnwindSafe for EnvelopeBox
impl Send for EnvelopeBox
impl Sync for EnvelopeBox
impl Unpin for EnvelopeBox
impl UnsafeUnpin for EnvelopeBox
impl UnwindSafe for EnvelopeBox
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