pub struct TypeDescriptionMsg {
pub type_description: IndividualTypeDescription,
pub referenced_type_descriptions: Vec<IndividualTypeDescription>,
}Expand description
Complete type description message including referenced types
Fields§
§type_description: IndividualTypeDescriptionThe main type being described
referenced_type_descriptions: Vec<IndividualTypeDescription>All types referenced by the main type
Implementations§
Source§impl TypeDescriptionMsg
impl TypeDescriptionMsg
Sourcepub fn new(
type_description: IndividualTypeDescription,
referenced_type_descriptions: Vec<IndividualTypeDescription>,
) -> Self
pub fn new( type_description: IndividualTypeDescription, referenced_type_descriptions: Vec<IndividualTypeDescription>, ) -> Self
Create a new type description message
Trait Implementations§
Source§impl Clone for TypeDescriptionMsg
impl Clone for TypeDescriptionMsg
Source§fn clone(&self) -> TypeDescriptionMsg
fn clone(&self) -> TypeDescriptionMsg
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 TypeDescriptionMsg
impl Debug for TypeDescriptionMsg
Source§impl<'de> Deserialize<'de> for TypeDescriptionMsg
impl<'de> Deserialize<'de> for TypeDescriptionMsg
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 TypeDescriptionMsg
impl RefUnwindSafe for TypeDescriptionMsg
impl Send for TypeDescriptionMsg
impl Sync for TypeDescriptionMsg
impl Unpin for TypeDescriptionMsg
impl UnsafeUnpin for TypeDescriptionMsg
impl UnwindSafe for TypeDescriptionMsg
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