pub struct SendPropIdentifier(/* private fields */);
Implementations§
Source§impl SendPropIdentifier
impl SendPropIdentifier
pub const fn new(table: &str, prop: &str) -> Self
Sourcepub const fn from_const(raw: u64) -> Self
pub const fn from_const(raw: u64) -> Self
Construct a SendPropIdentifier from a u64; like std::convert::From
Sourcepub fn table_name(&self) -> Option<SendTableName>
pub fn table_name(&self) -> Option<SendTableName>
This returns an option because only props known at compile time will return a name here
If you need to know the name of every property you need to keep a map yourself
Sourcepub fn prop_name(&self) -> Option<SendPropName>
pub fn prop_name(&self) -> Option<SendPropName>
This returns an option because only props known at compile time will return a name here
If you need to know the name of every property you need to keep a map yourself
Sourcepub fn names(&self) -> Option<(SendTableName, SendPropName)>
pub fn names(&self) -> Option<(SendTableName, SendPropName)>
This returns an option because only props known at compile time will return a name here
If you need to know the name of every property you need to keep a map yourself
Trait Implementations§
Source§impl Clone for SendPropIdentifier
impl Clone for SendPropIdentifier
Source§fn clone(&self) -> SendPropIdentifier
fn clone(&self) -> SendPropIdentifier
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SendPropIdentifier
impl Debug for SendPropIdentifier
Source§impl<'de> Deserialize<'de> for SendPropIdentifier
impl<'de> Deserialize<'de> for SendPropIdentifier
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
Source§impl Display for SendPropIdentifier
impl Display for SendPropIdentifier
Source§impl From<SendPropIdentifier> for u64
impl From<SendPropIdentifier> for u64
Source§fn from(identifier: SendPropIdentifier) -> Self
fn from(identifier: SendPropIdentifier) -> Self
Converts to this type from the input type.
Source§impl From<u64> for SendPropIdentifier
impl From<u64> for SendPropIdentifier
Source§impl Hash for SendPropIdentifier
impl Hash for SendPropIdentifier
Source§impl Ord for SendPropIdentifier
impl Ord for SendPropIdentifier
Source§fn cmp(&self, other: &SendPropIdentifier) -> Ordering
fn cmp(&self, other: &SendPropIdentifier) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SendPropIdentifier
impl PartialEq for SendPropIdentifier
Source§impl PartialOrd for SendPropIdentifier
impl PartialOrd for SendPropIdentifier
Source§impl Serialize for SendPropIdentifier
impl Serialize for SendPropIdentifier
impl Copy for SendPropIdentifier
impl Eq for SendPropIdentifier
impl StructuralPartialEq for SendPropIdentifier
Auto Trait Implementations§
impl Freeze for SendPropIdentifier
impl RefUnwindSafe for SendPropIdentifier
impl Send for SendPropIdentifier
impl Sync for SendPropIdentifier
impl Unpin for SendPropIdentifier
impl UnwindSafe for SendPropIdentifier
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more