pub struct PersonName { /* private fields */ }Expand description
One field: names do not split into given and family the same way everywhere.
Implementations§
Trait Implementations§
Source§impl Clone for PersonName
impl Clone for PersonName
Source§impl Debug for PersonName
impl Debug for PersonName
Source§impl<'de> Deserialize<'de> for PersonName
impl<'de> Deserialize<'de> for PersonName
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PersonName
Source§impl Hash for PersonName
impl Hash for PersonName
Source§impl LogFields for PersonName
impl LogFields for PersonName
Source§impl PartialEq for PersonName
impl PartialEq for PersonName
Source§impl Present for PersonName
impl Present for PersonName
Source§impl Samples for PersonName
impl Samples for PersonName
Source§impl Serialize for PersonName
impl Serialize for PersonName
impl StructuralPartialEq for PersonName
Source§impl Value for PersonName
impl Value for PersonName
type Inner = String
fn inner(&self) -> &String
fn try_from_inner(text: String) -> Result<Self, impl Display>
Source§fn decode_stored(text: String) -> Result<Self>
fn decode_stored(text: String) -> Result<Self>
Overridden when an input rule tightens, so rows written under the looser one still read.
const SENSITIVE: bool = false
Auto Trait Implementations§
impl Forget for PersonName
impl Freeze for PersonName
impl RefUnwindSafe for PersonName
impl Send for PersonName
impl Sync for PersonName
impl Unpin for PersonName
impl UnsafeUnpin for PersonName
impl UnwindSafe for PersonName
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<V> Cast for Vwhere
V: Value,
impl<V> Cast for Vwhere
V: Value,
const COLUMNS: &'static [ColumnSpec] = <V::Inner>::COLUMNS
const NULLABLE: bool = <V::Inner>::NULLABLE
Source§const SENSITIVE: bool
const SENSITIVE: bool
A field holding it is never filtered, sorted, listed or searched, as
#[sensitive] ones.fn encode(&self, out: &mut Vec<SqlValue>)
fn decode(row: &mut dyn ColumnReader) -> Result<V, Error>
Source§const MOVES: Option<fn(&Self) -> Option<&'static Targets>> = None
const MOVES: Option<fn(&Self) -> Option<&'static Targets>> = None
Set for a value moving between listed states; a save of any other value skips the check.
Source§const HOLDS_STATES: bool
const HOLDS_STATES: bool
Set when a state anywhere in the value is checked on save, as a field’s of several.