Struct sea_schema::mysql::def::StringAttr
source · pub struct StringAttr {
pub length: Option<u32>,
pub charset: Option<CharSet>,
pub collation: Option<Collation>,
}
Available on crate features
mysql
and def
only.Fields§
§length: Option<u32>
§charset: Option<CharSet>
§collation: Option<Collation>
Implementations§
Trait Implementations§
source§impl Clone for StringAttr
impl Clone for StringAttr
source§fn clone(&self) -> StringAttr
fn clone(&self) -> StringAttr
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 StringAttr
impl Debug for StringAttr
source§impl Default for StringAttr
impl Default for StringAttr
source§fn default() -> StringAttr
fn default() -> StringAttr
Returns the “default value” for a type. Read more
source§impl PartialEq for StringAttr
impl PartialEq for StringAttr
impl StructuralPartialEq for StringAttr
Auto Trait Implementations§
impl Freeze for StringAttr
impl RefUnwindSafe for StringAttr
impl Send for StringAttr
impl Sync for StringAttr
impl Unpin for StringAttr
impl UnwindSafe for StringAttr
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)