pub struct CSharpOptions {
pub framework: CSharpFramework,
pub array_type: ArrayOrList,
pub density: Density,
pub namespace: String,
pub csharp_version: CSharpVersion,
pub virtual: bool,
pub any_type: CSharpAnyType,
pub number_type: CSharpNumberType,
pub features: CSharpFeatures,
pub base_class: CSharpBaseClass,
pub check_required: bool,
pub keep_property_name: bool,
}
Fields§
§framework: CSharpFramework
Serialization framework
array_type: ArrayOrList
Use T[] or List
density: Density
Property density
namespace: String
Generated namespace
csharp_version: CSharpVersion
C# version
virtual: bool
Generate virtual properties
any_type: CSharpAnyType
Type to use for “any”
number_type: CSharpNumberType
Type to use for numbers
features: CSharpFeatures
Output features
base_class: CSharpBaseClass
Base class
check_required: bool
Fail if required properties are missing
keep_property_name: bool
Keep original field name generate
Trait Implementations§
Source§impl Clone for CSharpOptions
impl Clone for CSharpOptions
Source§fn clone(&self) -> CSharpOptions
fn clone(&self) -> CSharpOptions
Returns a copy 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 CSharpOptions
impl Debug for CSharpOptions
Source§impl Default for CSharpOptions
impl Default for CSharpOptions
Source§impl Hash for CSharpOptions
impl Hash for CSharpOptions
Source§impl PartialEq for CSharpOptions
impl PartialEq for CSharpOptions
impl Eq for CSharpOptions
impl StructuralPartialEq for CSharpOptions
Auto Trait Implementations§
impl Freeze for CSharpOptions
impl RefUnwindSafe for CSharpOptions
impl Send for CSharpOptions
impl Sync for CSharpOptions
impl Unpin for CSharpOptions
impl UnwindSafe for CSharpOptions
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