#[non_exhaustive]#[repr(C)]pub struct StringAffinity {
pub max_inline_length: Option<usize>,
}Expand description
Definition for string-like scalar affinities
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_inline_length: Option<usize>Maximum inline length
Implementations§
Source§impl StringAffinity
impl StringAffinity
Sourcepub const fn builder() -> StringAffinityBuilder
pub const fn builder() -> StringAffinityBuilder
Returns a builder for StringAffinity
Trait Implementations§
Source§impl Clone for StringAffinity
impl Clone for StringAffinity
Source§fn clone(&self) -> StringAffinity
fn clone(&self) -> StringAffinity
Returns a copy 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 StringAffinity
impl Debug for StringAffinity
Source§impl Hash for StringAffinity
impl Hash for StringAffinity
Source§impl PartialEq for StringAffinity
impl PartialEq for StringAffinity
impl Copy for StringAffinity
impl Eq for StringAffinity
impl StructuralPartialEq for StringAffinity
Auto Trait Implementations§
impl Freeze for StringAffinity
impl RefUnwindSafe for StringAffinity
impl Send for StringAffinity
impl Sync for StringAffinity
impl Unpin for StringAffinity
impl UnwindSafe for StringAffinity
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