pub struct QualifiedName(/* private fields */);
Implementations§
Source§impl QualifiedName
impl QualifiedName
pub fn new(names: Vec<String>) -> QualifiedName
pub fn to_string(&self) -> String
pub fn to_vec(&self) -> Vec<String>
pub fn to_tuple2(&self) -> (Option<&str>, Option<&str>)
pub fn to_tuple3(&self) -> (Option<&str>, Option<&str>, Option<&str>)
pub fn first(&self) -> Option<&str>
pub fn second(&self) -> Option<&str>
pub fn third(&self) -> Option<&str>
pub fn last(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for QualifiedName
impl Clone for QualifiedName
Source§fn clone(&self) -> QualifiedName
fn clone(&self) -> QualifiedName
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 QualifiedName
impl Debug for QualifiedName
Source§impl Default for QualifiedName
impl Default for QualifiedName
Source§fn default() -> QualifiedName
fn default() -> QualifiedName
Returns the “default value” for a type. Read more
Source§impl Display for QualifiedName
impl Display for QualifiedName
Source§impl From<&str> for QualifiedName
impl From<&str> for QualifiedName
Source§fn from(name: &str) -> QualifiedName
fn from(name: &str) -> QualifiedName
Converts to this type from the input type.
Source§impl From<String> for QualifiedName
impl From<String> for QualifiedName
Source§fn from(names: String) -> QualifiedName
fn from(names: String) -> QualifiedName
Converts to this type from the input type.
Source§impl Hash for QualifiedName
impl Hash for QualifiedName
Source§impl Ord for QualifiedName
impl Ord for QualifiedName
Source§fn cmp(&self, other: &QualifiedName) -> Ordering
fn cmp(&self, other: &QualifiedName) -> 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 QualifiedName
impl PartialEq for QualifiedName
Source§impl PartialOrd for QualifiedName
impl PartialOrd for QualifiedName
impl Eq for QualifiedName
impl StructuralPartialEq for QualifiedName
Auto Trait Implementations§
impl Freeze for QualifiedName
impl RefUnwindSafe for QualifiedName
impl Send for QualifiedName
impl Sync for QualifiedName
impl Unpin for QualifiedName
impl UnwindSafe for QualifiedName
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