pub struct EnhancedStruct {
pub name: String,
pub choice: bool,
pub autoid: bool,
pub empty: bool,
pub mutable: bool,
pub members: Vec<EnhancedMember>,
}Expand description
A structure of the Enhanced Service Mapping.
The same shape as crates/rpc/src/codegen.rs::EnhancedStruct;
crates/rpc/tests/language_binding_agreement.rs holds the two against
each other.
Fields§
§name: StringThe structure’s name.
choice: bool@Choice (§7.5.1.2.1.1).
autoid: bool@Autoid (§7.5.1.2.1.2).
empty: bool@Empty (§7.5.1.2.1.3).
mutable: bool@Extensibility(MUTABLE_EXTENSIBILITY).
members: Vec<EnhancedMember>The members, in the order the clause lists them.
Trait Implementations§
Source§impl Clone for EnhancedStruct
impl Clone for EnhancedStruct
Source§impl Debug for EnhancedStruct
impl Debug for EnhancedStruct
impl Eq for EnhancedStruct
Source§impl PartialEq for EnhancedStruct
impl PartialEq for EnhancedStruct
impl StructuralPartialEq for EnhancedStruct
Auto Trait Implementations§
impl Freeze for EnhancedStruct
impl RefUnwindSafe for EnhancedStruct
impl Send for EnhancedStruct
impl Sync for EnhancedStruct
impl Unpin for EnhancedStruct
impl UnsafeUnpin for EnhancedStruct
impl UnwindSafe for EnhancedStruct
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