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: bool
Plain types only
just_types_and_package: bool
Plain types with package only
package: String
Generated package name
list of tags which should be generated for fields
omit_empty: bool
If 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