pub enum EmptyOperationStyle {
DummyMember,
EmptyAnnotation,
}Expand description
How an operation with nothing to carry is mapped in the Enhanced Service Mapping.
§7.5.1.2.1.3 introduces @Empty for it, while §7.5.1.2.2 and
§7.5.1.2.3 take over the dummy member of §7.5.1.1.4 rule 3c and
the example of §7.5.1.2.6 shows it. The default is the dummy
member. The same setting crates/rpc/src/codegen.rs has.
Variants§
DummyMember
One dummy member of type UnusedMember.
EmptyAnnotation
An empty structure marked @Empty.
Trait Implementations§
Source§impl Clone for EmptyOperationStyle
impl Clone for EmptyOperationStyle
impl Copy for EmptyOperationStyle
Source§impl Debug for EmptyOperationStyle
impl Debug for EmptyOperationStyle
Source§impl Default for EmptyOperationStyle
impl Default for EmptyOperationStyle
impl Eq for EmptyOperationStyle
Source§impl PartialEq for EmptyOperationStyle
impl PartialEq for EmptyOperationStyle
impl StructuralPartialEq for EmptyOperationStyle
Auto Trait Implementations§
impl Freeze for EmptyOperationStyle
impl RefUnwindSafe for EmptyOperationStyle
impl Send for EmptyOperationStyle
impl Sync for EmptyOperationStyle
impl Unpin for EmptyOperationStyle
impl UnsafeUnpin for EmptyOperationStyle
impl UnwindSafe for EmptyOperationStyle
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