#[repr(C)]pub struct FieldVTable {
pub skip_serializing_if: Option<SkipSerializingIfFn>,
pub default_fn: Option<DefaultInPlaceFn>,
}
Expand description
Vtable for field-specific operations
Fields§
§skip_serializing_if: Option<SkipSerializingIfFn>
Function to determine if serialization should be skipped for this field
default_fn: Option<DefaultInPlaceFn>
Function to get the default value for this field
Implementations§
Source§impl FieldVTable
impl FieldVTable
Sourcepub const fn builder() -> FieldVTableBuilder
pub const fn builder() -> FieldVTableBuilder
Returns a builder for FieldVTable
Trait Implementations§
Source§impl Clone for FieldVTable
impl Clone for FieldVTable
Source§fn clone(&self) -> FieldVTable
fn clone(&self) -> FieldVTable
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 FieldVTable
impl Debug for FieldVTable
impl Copy for FieldVTable
Auto Trait Implementations§
impl Freeze for FieldVTable
impl RefUnwindSafe for FieldVTable
impl Send for FieldVTable
impl Sync for FieldVTable
impl Unpin for FieldVTable
impl UnwindSafe for FieldVTable
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