pub struct CkmTypeRef {
pub canonical: CanonicalType,
pub original: Option<String>,
pub enum: Option<Vec<String>>,
}Expand description
A portable type reference with canonical mapping.
Fields§
§canonical: CanonicalTypeLanguage-agnostic canonical type.
original: Option<String>Source language type annotation (e.g., CalVerFormat).
enum: Option<Vec<String>>Known enum values for string types.
Trait Implementations§
Source§impl Clone for CkmTypeRef
impl Clone for CkmTypeRef
Source§fn clone(&self) -> CkmTypeRef
fn clone(&self) -> CkmTypeRef
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 CkmTypeRef
impl Debug for CkmTypeRef
Source§impl<'de> Deserialize<'de> for CkmTypeRef
impl<'de> Deserialize<'de> for CkmTypeRef
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 CkmTypeRef
impl PartialEq for CkmTypeRef
Source§impl Serialize for CkmTypeRef
impl Serialize for CkmTypeRef
impl StructuralPartialEq for CkmTypeRef
Auto Trait Implementations§
impl Freeze for CkmTypeRef
impl RefUnwindSafe for CkmTypeRef
impl Send for CkmTypeRef
impl Sync for CkmTypeRef
impl Unpin for CkmTypeRef
impl UnsafeUnpin for CkmTypeRef
impl UnwindSafe for CkmTypeRef
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