pub struct VariantCaseType {
pub name: String,
pub payload: Option<i32>,
pub metadata: MetadataEnvelope,
}Fields§
§name: String§payload: Option<i32>§metadata: MetadataEnvelopeTrait Implementations§
Source§impl Clone for VariantCaseType
impl Clone for VariantCaseType
Source§fn clone(&self) -> VariantCaseType
fn clone(&self) -> VariantCaseType
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 moreAuto Trait Implementations§
impl Freeze for VariantCaseType
impl RefUnwindSafe for VariantCaseType
impl Send for VariantCaseType
impl Sync for VariantCaseType
impl Unpin for VariantCaseType
impl UnsafeUnpin for VariantCaseType
impl UnwindSafe for VariantCaseType
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