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: CSharpFrameworkSerialization framework
array_type: ArrayOrListUse T[] or List
density: DensityProperty density
namespace: StringGenerated namespace
csharp_version: CSharpVersionC# version
virtual: boolGenerate virtual properties
any_type: CSharpAnyTypeType to use for “any”
number_type: CSharpNumberTypeType to use for numbers
features: CSharpFeaturesOutput features
base_class: CSharpBaseClassBase class
check_required: boolFail if required properties are missing
keep_property_name: boolKeep 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 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 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