pub struct GoTypeInfo {
pub name: String,
pub package_path: String,
pub fields: Vec<GoField>,
pub documentation: Option<String>,
pub type_kind: GoTypeKind,
}Fields§
§name: String§package_path: String§fields: Vec<GoField>§documentation: Option<String>§type_kind: GoTypeKindTrait Implementations§
Source§impl Clone for GoTypeInfo
impl Clone for GoTypeInfo
Source§fn clone(&self) -> GoTypeInfo
fn clone(&self) -> GoTypeInfo
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 GoTypeInfo
impl Debug for GoTypeInfo
Source§impl<'de> Deserialize<'de> for GoTypeInfo
impl<'de> Deserialize<'de> for GoTypeInfo
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 GoTypeInfo
impl RefUnwindSafe for GoTypeInfo
impl Send for GoTypeInfo
impl Sync for GoTypeInfo
impl Unpin for GoTypeInfo
impl UnwindSafe for GoTypeInfo
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