Struct ockam_core::AddressSet
source · [−]pub struct AddressSet(_);
Expand description
A read-only set containing a Vec
of Address
structures.
Implementations
Trait Implementations
sourceimpl AsRef<[Address]> for AddressSet
impl AsRef<[Address]> for AddressSet
sourceimpl Clone for AddressSet
impl Clone for AddressSet
sourcefn clone(&self) -> AddressSet
fn clone(&self) -> AddressSet
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AddressSet
impl Debug for AddressSet
sourceimpl<'de> Deserialize<'de> for AddressSet
impl<'de> Deserialize<'de> for AddressSet
sourcefn 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
sourceimpl Display for AddressSet
impl Display for AddressSet
sourceimpl<'a> From<&'a Address> for AddressSet
impl<'a> From<&'a Address> for AddressSet
sourceimpl<'a> From<&'a str> for AddressSet
impl<'a> From<&'a str> for AddressSet
sourceimpl From<Address> for AddressSet
impl From<Address> for AddressSet
sourceimpl<A> FromIterator<A> for AddressSetwhere
A: Into<Address>,
impl<A> FromIterator<A> for AddressSetwhere
A: Into<Address>,
sourcefn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = A>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = A>,
Creates a value from an iterator. Read more
sourceimpl Hash for AddressSet
impl Hash for AddressSet
sourceimpl IntoIterator for AddressSet
impl IntoIterator for AddressSet
sourceimpl Ord for AddressSet
impl Ord for AddressSet
sourcefn cmp(&self, other: &AddressSet) -> Ordering
fn cmp(&self, other: &AddressSet) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<AddressSet> for AddressSet
impl PartialEq<AddressSet> for AddressSet
sourcefn eq(&self, other: &AddressSet) -> bool
fn eq(&self, other: &AddressSet) -> bool
sourceimpl PartialOrd<AddressSet> for AddressSet
impl PartialOrd<AddressSet> for AddressSet
sourcefn partial_cmp(&self, other: &AddressSet) -> Option<Ordering>
fn partial_cmp(&self, other: &AddressSet) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for AddressSet
impl Serialize for AddressSet
impl Eq for AddressSet
impl StructuralEq for AddressSet
impl StructuralPartialEq for AddressSet
Auto Trait Implementations
impl RefUnwindSafe for AddressSet
impl Send for AddressSet
impl Sync for AddressSet
impl Unpin for AddressSet
impl UnwindSafe for AddressSet
Blanket Implementations
sourceimpl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
impl<D> AsyncTryClone for Dwhere
D: Clone + Sync,
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more