pub struct UpdateFieldOptions {
pub skip: bool,
pub skip_fn: Option<Arc<dyn Fn() -> bool + Send + Sync>>,
pub value_fn: Option<Arc<dyn Fn() -> Arg + Send + Sync>>,
}Expand description
Options for UpdateField.
Fields§
§skip: bool§skip_fn: Option<Arc<dyn Fn() -> bool + Send + Sync>>§value_fn: Option<Arc<dyn Fn() -> Arg + Send + Sync>>Implementations§
Trait Implementations§
Source§impl Clone for UpdateFieldOptions
impl Clone for UpdateFieldOptions
Source§fn clone(&self) -> UpdateFieldOptions
fn clone(&self) -> UpdateFieldOptions
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 UpdateFieldOptions
impl Debug for UpdateFieldOptions
Source§impl Default for UpdateFieldOptions
impl Default for UpdateFieldOptions
Source§fn default() -> UpdateFieldOptions
fn default() -> UpdateFieldOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateFieldOptions
impl !RefUnwindSafe for UpdateFieldOptions
impl Send for UpdateFieldOptions
impl Sync for UpdateFieldOptions
impl Unpin for UpdateFieldOptions
impl !UnwindSafe for UpdateFieldOptions
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