pub struct ElementName(/* private fields */);Expand description
Name of an element within a test plan.
Element names are unique within a plan. See SRD-0007.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for ElementName
impl AsRef<str> for ElementName
Source§impl Clone for ElementName
impl Clone for ElementName
Source§fn clone(&self) -> ElementName
fn clone(&self) -> ElementName
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 ElementName
impl Debug for ElementName
Source§impl<'de> Deserialize<'de> for ElementName
impl<'de> Deserialize<'de> for ElementName
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 ElementName
impl Display for ElementName
Source§impl FromStr for ElementName
impl FromStr for ElementName
Source§impl Hash for ElementName
impl Hash for ElementName
Source§impl Name for ElementName
impl Name for ElementName
Source§const KIND: &'static str = "ElementName"
const KIND: &'static str = "ElementName"
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 ElementName
impl Ord for ElementName
Source§fn cmp(&self, other: &ElementName) -> Ordering
fn cmp(&self, other: &ElementName) -> 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 ElementName
impl PartialEq for ElementName
Source§impl PartialOrd for ElementName
impl PartialOrd for ElementName
Source§impl Serialize for ElementName
impl Serialize for ElementName
Source§impl TryFrom<&str> for ElementName
impl TryFrom<&str> for ElementName
Source§impl TryFrom<String> for ElementName
impl TryFrom<String> for ElementName
impl Eq for ElementName
impl StructuralPartialEq for ElementName
Auto Trait Implementations§
impl Freeze for ElementName
impl RefUnwindSafe for ElementName
impl Send for ElementName
impl Sync for ElementName
impl Unpin for ElementName
impl UnsafeUnpin for ElementName
impl UnwindSafe for ElementName
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.