pub struct FieldValueFactor { /* private fields */ }Expand description
Field value factor function
Implementations§
Source§impl FieldValueFactor
impl FieldValueFactor
pub fn with_factor<T: Into<f64>>(self, val: T) -> Self
pub fn with_modifier<T: Into<Modifier>>(self, val: T) -> Self
pub fn with_missing<T: Into<JsonVal>>(self, val: T) -> Self
pub fn build(self) -> Function
Trait Implementations§
Source§impl Debug for FieldValueFactor
impl Debug for FieldValueFactor
Source§impl Default for FieldValueFactor
impl Default for FieldValueFactor
Source§fn default() -> FieldValueFactor
fn default() -> FieldValueFactor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FieldValueFactor
impl RefUnwindSafe for FieldValueFactor
impl Send for FieldValueFactor
impl Sync for FieldValueFactor
impl Unpin for FieldValueFactor
impl UnsafeUnpin for FieldValueFactor
impl UnwindSafe for FieldValueFactor
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more