pub enum Metadata {
Show 13 variants
Namespace(NamespaceMetadata),
UdlFile(UdlFile),
Func(FnMetadata),
Object(ObjectMetadata),
CallbackInterface(CallbackInterfaceMetadata),
Record(RecordMetadata),
Enum(EnumMetadata),
Error(ErrorMetadata),
Constructor(ConstructorMetadata),
Method(MethodMetadata),
TraitMethod(TraitMethodMetadata),
CustomType(CustomTypeMetadata),
UniffiTrait(UniffiTraitMetadata),
}
Expand description
Enum covering all the possible metadata types
Variants§
Namespace(NamespaceMetadata)
UdlFile(UdlFile)
Func(FnMetadata)
Object(ObjectMetadata)
CallbackInterface(CallbackInterfaceMetadata)
Record(RecordMetadata)
Enum(EnumMetadata)
Error(ErrorMetadata)
Constructor(ConstructorMetadata)
Method(MethodMetadata)
TraitMethod(TraitMethodMetadata)
CustomType(CustomTypeMetadata)
UniffiTrait(UniffiTraitMetadata)
Implementations§
Trait Implementations§
Source§impl From<CallbackInterfaceMetadata> for Metadata
impl From<CallbackInterfaceMetadata> for Metadata
Source§fn from(v: CallbackInterfaceMetadata) -> Self
fn from(v: CallbackInterfaceMetadata) -> Self
Converts to this type from the input type.
Source§impl From<ConstructorMetadata> for Metadata
impl From<ConstructorMetadata> for Metadata
Source§fn from(c: ConstructorMetadata) -> Self
fn from(c: ConstructorMetadata) -> Self
Converts to this type from the input type.
Source§impl From<CustomTypeMetadata> for Metadata
impl From<CustomTypeMetadata> for Metadata
Source§fn from(v: CustomTypeMetadata) -> Self
fn from(v: CustomTypeMetadata) -> Self
Converts to this type from the input type.
Source§impl From<EnumMetadata> for Metadata
impl From<EnumMetadata> for Metadata
Source§fn from(e: EnumMetadata) -> Self
fn from(e: EnumMetadata) -> Self
Converts to this type from the input type.
Source§impl From<ErrorMetadata> for Metadata
impl From<ErrorMetadata> for Metadata
Source§fn from(e: ErrorMetadata) -> Self
fn from(e: ErrorMetadata) -> Self
Converts to this type from the input type.
Source§impl From<FnMetadata> for Metadata
impl From<FnMetadata> for Metadata
Source§fn from(value: FnMetadata) -> Metadata
fn from(value: FnMetadata) -> Metadata
Converts to this type from the input type.
Source§impl From<MethodMetadata> for Metadata
impl From<MethodMetadata> for Metadata
Source§fn from(m: MethodMetadata) -> Self
fn from(m: MethodMetadata) -> Self
Converts to this type from the input type.
Source§impl From<NamespaceMetadata> for Metadata
impl From<NamespaceMetadata> for Metadata
Source§fn from(value: NamespaceMetadata) -> Metadata
fn from(value: NamespaceMetadata) -> Metadata
Converts to this type from the input type.
Source§impl From<ObjectMetadata> for Metadata
impl From<ObjectMetadata> for Metadata
Source§fn from(v: ObjectMetadata) -> Self
fn from(v: ObjectMetadata) -> Self
Converts to this type from the input type.
Source§impl From<RecordMetadata> for Metadata
impl From<RecordMetadata> for Metadata
Source§fn from(r: RecordMetadata) -> Self
fn from(r: RecordMetadata) -> Self
Converts to this type from the input type.
Source§impl From<TraitMethodMetadata> for Metadata
impl From<TraitMethodMetadata> for Metadata
Source§fn from(v: TraitMethodMetadata) -> Self
fn from(v: TraitMethodMetadata) -> Self
Converts to this type from the input type.
Source§impl From<UniffiTraitMetadata> for Metadata
impl From<UniffiTraitMetadata> for Metadata
Source§fn from(v: UniffiTraitMetadata) -> Self
fn from(v: UniffiTraitMetadata) -> Self
Converts to this type from the input type.
Source§impl Ord for Metadata
impl Ord for Metadata
Source§impl PartialOrd for Metadata
impl PartialOrd for Metadata
impl Eq for Metadata
impl StructuralPartialEq for Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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