pub struct OperationDescriptor {
pub name: String,
pub opcode: u32,
pub one_way: bool,
pub in_params: Vec<String>,
pub out_params: Vec<String>,
}Expand description
Operation-Descriptor fuer Codegen.
Pro IDL-Operation void op(in t1 x, out t2 y) raises (E) erzeugt
der Codegen einen OperationDescriptor.
Fields§
§name: StringMethod-Name aus IDL.
opcode: u32Monoton vergebener Opcode.
one_way: booltrue wenn oneway-Spec — kein Reply erwartet.
in_params: Vec<String>Liste der in/inout-Parameter (Reihenfolge wie in IDL).
out_params: Vec<String>Liste der out/inout-Parameter + Return-Type (Spec
§7.2.4.2 mappt Return zur ersten Member-Position).
Trait Implementations§
Source§impl Clone for OperationDescriptor
impl Clone for OperationDescriptor
Source§fn clone(&self) -> OperationDescriptor
fn clone(&self) -> OperationDescriptor
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 OperationDescriptor
impl Debug for OperationDescriptor
Source§impl PartialEq for OperationDescriptor
impl PartialEq for OperationDescriptor
Source§fn eq(&self, other: &OperationDescriptor) -> bool
fn eq(&self, other: &OperationDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OperationDescriptor
impl StructuralPartialEq for OperationDescriptor
Auto Trait Implementations§
impl Freeze for OperationDescriptor
impl RefUnwindSafe for OperationDescriptor
impl Send for OperationDescriptor
impl Sync for OperationDescriptor
impl Unpin for OperationDescriptor
impl UnsafeUnpin for OperationDescriptor
impl UnwindSafe for OperationDescriptor
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