pub struct CallUnionCase {
pub method: String,
pub discriminator: u32,
pub case_type_name: String,
pub members: Vec<StructMember>,
}Expand description
Discriminator-Case einer Call-Union (Basic-Layout).
Fields§
§method: StringMethoden-Name (= Discriminator-Label OP_<name>).
discriminator: u32Diskriminator-Wert (1-basiert in Reihenfolge der MethodDef-Liste).
case_type_name: String<Service>_<method>_<In|Out>-Typname.
members: Vec<StructMember>Member-Liste der Case-Struktur (In bzw. 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