[−][src]Struct aws_iam::model::qstring::QString
A Qualified String, i.e. prefix:value
Methods
impl QString
[src]
pub fn new(qualifier: String, value: String) -> Self
[src]
Create a new qualified string with both qualifier
and value
.
pub fn unqualified(value: String) -> Self
[src]
Create a new qualified string with only a value
.
pub fn empty() -> Self
[src]
Construct an empty qualified string
pub fn is_empty(&self) -> bool
[src]
Determines if the value
part of this qualified string is empty.
pub fn qualifier(&self) -> &Option<String>
[src]
Return the qualifier
part of this qualified string.
pub fn value(&self) -> &String
[src]
Return the value
part of this qualified string.
Trait Implementations
impl Clone for QString
[src]
impl Eq for QString
[src]
impl PartialEq<QString> for QString
[src]
impl Display for QString
[src]
impl Debug for QString
[src]
impl FromStr for QString
[src]
type Err = QStringError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Hash for QString
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl StructuralPartialEq for QString
[src]
impl StructuralEq for QString
[src]
impl Serialize for QString
[src]
impl<'de> Deserialize<'de> for QString
[src]
fn deserialize<D>(deserializer: D) -> Result<QString, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for QString
impl Sync for QString
impl Unpin for QString
impl UnwindSafe for QString
impl RefUnwindSafe for QString
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,