pub struct LengthDistributionConfig {
pub short: Option<f32>,
pub medium: Option<f32>,
pub long: Option<f32>,
pub short_max_words: Option<u16>,
pub medium_max_words: Option<u16>,
}Fields§
§short: Option<f32>§medium: Option<f32>§long: Option<f32>§short_max_words: Option<u16>§medium_max_words: Option<u16>Trait Implementations§
Source§impl Clone for LengthDistributionConfig
impl Clone for LengthDistributionConfig
Source§fn clone(&self) -> LengthDistributionConfig
fn clone(&self) -> LengthDistributionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LengthDistributionConfig
impl Debug for LengthDistributionConfig
Source§impl Default for LengthDistributionConfig
impl Default for LengthDistributionConfig
Source§fn default() -> LengthDistributionConfig
fn default() -> LengthDistributionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LengthDistributionConfigwhere
LengthDistributionConfig: Default,
impl<'de> Deserialize<'de> for LengthDistributionConfigwhere
LengthDistributionConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LengthDistributionConfig
impl RefUnwindSafe for LengthDistributionConfig
impl Send for LengthDistributionConfig
impl Sync for LengthDistributionConfig
impl Unpin for LengthDistributionConfig
impl UnsafeUnpin for LengthDistributionConfig
impl UnwindSafe for LengthDistributionConfig
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