pub struct TypeInfo {
pub kind: TypeKind,
pub object_type: Option<ObjectType>,
pub rights: Option<Rights>,
pub identifier: Option<String>,
pub protocol: Option<String>,
pub role: Option<EndpointRole>,
pub subtype: Option<String>,
pub element_type: Box<Option<TypeInfo>>,
pub element_count: Option<usize>,
pub maybe_element_count: Option<usize>,
pub nullable: bool,
}
Fields§
§kind: TypeKind
§object_type: Option<ObjectType>
§rights: Option<Rights>
§identifier: Option<String>
§protocol: Option<String>
§role: Option<EndpointRole>
§subtype: Option<String>
§element_type: Box<Option<TypeInfo>>
§element_count: Option<usize>
§maybe_element_count: Option<usize>
§nullable: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypeInfo
impl<'de> Deserialize<'de> for TypeInfo
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
Auto Trait Implementations§
impl Freeze for TypeInfo
impl RefUnwindSafe for TypeInfo
impl Send for TypeInfo
impl Sync for TypeInfo
impl Unpin for TypeInfo
impl UnwindSafe for TypeInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)