pub enum TypeDeclaration {
Def(TypeDef),
Import(PackImport),
}Expand description
One entry of room.create.payload.types or a type.define payload.
Variants§
Def(TypeDef)
Import(PackImport)
Trait Implementations§
Source§impl Clone for TypeDeclaration
impl Clone for TypeDeclaration
Source§impl Debug for TypeDeclaration
impl Debug for TypeDeclaration
Source§impl<'de> Deserialize<'de> for TypeDeclaration
impl<'de> Deserialize<'de> for TypeDeclaration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TypeDeclaration
impl PartialEq for TypeDeclaration
Source§impl Serialize for TypeDeclaration
impl Serialize for TypeDeclaration
impl StructuralPartialEq for TypeDeclaration
Auto Trait Implementations§
impl Freeze for TypeDeclaration
impl RefUnwindSafe for TypeDeclaration
impl Send for TypeDeclaration
impl Sync for TypeDeclaration
impl Unpin for TypeDeclaration
impl UnsafeUnpin for TypeDeclaration
impl UnwindSafe for TypeDeclaration
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