Struct tf_demo_parser::demo::sendprop::SendPropIdentifier
source · pub struct SendPropIdentifier(/* private fields */);
Implementations§
source§impl SendPropIdentifier
impl SendPropIdentifier
pub const fn new(table: &str, prop: &str) -> Self
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 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 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§fn eq(&self, other: &SendPropIdentifier) -> bool
fn eq(&self, other: &SendPropIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SendPropIdentifier
impl PartialOrd for SendPropIdentifier
source§fn partial_cmp(&self, other: &SendPropIdentifier) -> Option<Ordering>
fn partial_cmp(&self, other: &SendPropIdentifier) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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