pub struct GoField {
    pub name: String,
    pub json_name: Option<String>,
    pub go_type: String,
    pub documentation: Option<String>,
    pub tags: HashMap<String, String>,
    pub is_pointer: bool,
    pub is_optional: bool,
}Fields§
§name: String§json_name: Option<String>§go_type: String§documentation: Option<String>§is_pointer: bool§is_optional: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for GoField
 
impl<'de> Deserialize<'de> for GoField
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 GoField
impl RefUnwindSafe for GoField
impl Send for GoField
impl Sync for GoField
impl Unpin for GoField
impl UnwindSafe for GoField
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