pub struct PathStep<'a> { /* private fields */ }
Expand description
A PathStep represents an individual step along a Path.
Implementations§
Source§impl<'a> PathStep<'a>
impl<'a> PathStep<'a>
Sourcepub fn with_account(self, account: Cow<'a, str>) -> Self
pub fn with_account(self, account: Cow<'a, str>) -> Self
Set the account field
Sourcepub fn with_currency(self, currency: Cow<'a, str>) -> Self
pub fn with_currency(self, currency: Cow<'a, str>) -> Self
Set the currency field
Sourcepub fn with_issuer(self, issuer: Cow<'a, str>) -> Self
pub fn with_issuer(self, issuer: Cow<'a, str>) -> Self
Set the issuer field
Sourcepub fn with_type_hex(self, type_hex: Cow<'a, str>) -> Self
pub fn with_type_hex(self, type_hex: Cow<'a, str>) -> Self
Set the type_hex field
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for PathStep<'a>
impl<'de, 'a> Deserialize<'de> for PathStep<'a>
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
impl<'a> Eq for PathStep<'a>
impl<'a> StructuralPartialEq for PathStep<'a>
Auto Trait Implementations§
impl<'a> Freeze for PathStep<'a>
impl<'a> RefUnwindSafe for PathStep<'a>
impl<'a> Send for PathStep<'a>
impl<'a> Sync for PathStep<'a>
impl<'a> Unpin for PathStep<'a>
impl<'a> UnwindSafe for PathStep<'a>
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> 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.