pub enum CSharpFieldInfo {
Property {
property_name: String,
json_name: String,
type_name: String,
is_optional: bool,
},
ExtensionData {
key_type_name: String,
value_type_name: String,
},
}Expand description
Metadata for a C# field, used by #[serde(flatten)] to inline properties.
Variants§
Property
A regular property to inline into the parent record.
Fields
ExtensionData
An extension data container (from flattened HashMap).
Trait Implementations§
Source§impl Clone for CSharpFieldInfo
impl Clone for CSharpFieldInfo
Source§fn clone(&self) -> CSharpFieldInfo
fn clone(&self) -> CSharpFieldInfo
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 moreAuto Trait Implementations§
impl Freeze for CSharpFieldInfo
impl RefUnwindSafe for CSharpFieldInfo
impl Send for CSharpFieldInfo
impl Sync for CSharpFieldInfo
impl Unpin for CSharpFieldInfo
impl UnsafeUnpin for CSharpFieldInfo
impl UnwindSafe for CSharpFieldInfo
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