pub struct GoOptions {
pub just_types: bool,
pub just_types_and_package: bool,
pub package: String,
pub field_tags: String,
pub omit_empty: bool,
}Fields§
§just_types: boolPlain types only
just_types_and_package: boolPlain types with package only
package: StringGenerated package name
list of tags which should be generated for fields
omit_empty: boolIf set, all non-required objects will be tagged with “,omitempty”
Trait Implementations§
impl Eq for GoOptions
impl StructuralPartialEq for GoOptions
Auto Trait Implementations§
impl Freeze for GoOptions
impl RefUnwindSafe for GoOptions
impl Send for GoOptions
impl Sync for GoOptions
impl Unpin for GoOptions
impl UnwindSafe for GoOptions
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