pub struct CallUnionCase {
pub method: String,
pub discriminator: u32,
pub case_type_name: String,
pub members: Vec<StructMember>,
}Expand description
Discriminator case of a call union (basic layout).
Fields§
§method: StringMethod name (= discriminator label OP_<name>).
discriminator: u32Discriminator value (1-based in the order of the MethodDef list).
case_type_name: String<Service>_<method>_<In|Out> type name.
members: Vec<StructMember>Member list of the case struct (In or Out).
Trait Implementations§
Source§impl Clone for CallUnionCase
impl Clone for CallUnionCase
Source§fn clone(&self) -> CallUnionCase
fn clone(&self) -> CallUnionCase
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 CallUnionCase
impl Debug for CallUnionCase
Source§impl PartialEq for CallUnionCase
impl PartialEq for CallUnionCase
Source§fn eq(&self, other: &CallUnionCase) -> bool
fn eq(&self, other: &CallUnionCase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CallUnionCase
Auto Trait Implementations§
impl Freeze for CallUnionCase
impl RefUnwindSafe for CallUnionCase
impl Send for CallUnionCase
impl Sync for CallUnionCase
impl Unpin for CallUnionCase
impl UnsafeUnpin for CallUnionCase
impl UnwindSafe for CallUnionCase
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