pub struct SimpleExtensionDeclaration {
pub anchor: u32,
pub urn_anchor: u32,
pub name: String,
}Fields§
§anchor: u32§urn_anchor: u32§name: StringImplementations§
Source§impl SimpleExtensionDeclaration
impl SimpleExtensionDeclaration
fn parse_from_kind( s: &str, kind: ExtensionKind, ) -> Result<Self, MessageParseError>
Trait Implementations§
Source§impl Clone for SimpleExtensionDeclaration
impl Clone for SimpleExtensionDeclaration
Source§fn clone(&self) -> SimpleExtensionDeclaration
fn clone(&self) -> SimpleExtensionDeclaration
Returns a duplicate of the value. Read more
1.0.0 · 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 SimpleExtensionDeclaration
impl Debug for SimpleExtensionDeclaration
impl StructuralPartialEq for SimpleExtensionDeclaration
Auto Trait Implementations§
impl Freeze for SimpleExtensionDeclaration
impl RefUnwindSafe for SimpleExtensionDeclaration
impl Send for SimpleExtensionDeclaration
impl Sync for SimpleExtensionDeclaration
impl Unpin for SimpleExtensionDeclaration
impl UnsafeUnpin for SimpleExtensionDeclaration
impl UnwindSafe for SimpleExtensionDeclaration
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