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
sourceยงfn eq(&self, other: &StringAttr) -> bool
fn eq(&self, other: &StringAttr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StringAttr
Auto Trait Implementationsยง
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