pub struct ParameterName(/* private fields */);Expand description
Name of a parameter within the scope of an element.
Parameter names are scoped to their owning element — two elements may share a parameter name without conflict. See SRD-0004.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ParameterName
impl AsRef<str> for ParameterName
Source§impl Clone for ParameterName
impl Clone for ParameterName
Source§fn clone(&self) -> ParameterName
fn clone(&self) -> ParameterName
Returns a duplicate 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 ParameterName
impl Debug for ParameterName
Source§impl<'de> Deserialize<'de> for ParameterName
impl<'de> Deserialize<'de> for ParameterName
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
Source§impl Display for ParameterName
impl Display for ParameterName
Source§impl FromStr for ParameterName
impl FromStr for ParameterName
Source§impl Hash for ParameterName
impl Hash for ParameterName
Source§impl Name for ParameterName
impl Name for ParameterName
Source§const KIND: &'static str = "ParameterName"
const KIND: &'static str = "ParameterName"
Human-readable kind label, used in error messages and
Debug.Source§const MAX_LEN: usize = 64
const MAX_LEN: usize = 64
Maximum byte length (UTF-8). Default 64 — override when a larger
ceiling is natural (plan names, for example).
Source§impl Ord for ParameterName
impl Ord for ParameterName
Source§fn cmp(&self, other: &ParameterName) -> Ordering
fn cmp(&self, other: &ParameterName) -> 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 ParameterName
impl PartialEq for ParameterName
Source§impl PartialOrd for ParameterName
impl PartialOrd for ParameterName
Source§impl Serialize for ParameterName
impl Serialize for ParameterName
Source§impl TryFrom<&str> for ParameterName
impl TryFrom<&str> for ParameterName
Source§impl TryFrom<String> for ParameterName
impl TryFrom<String> for ParameterName
impl Eq for ParameterName
impl StructuralPartialEq for ParameterName
Auto Trait Implementations§
impl Freeze for ParameterName
impl RefUnwindSafe for ParameterName
impl Send for ParameterName
impl Sync for ParameterName
impl Unpin for ParameterName
impl UnsafeUnpin for ParameterName
impl UnwindSafe for ParameterName
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.