Struct ockam_core::AddressSet[][src]

pub struct AddressSet(_);

A collection of Addresses

Implementations

impl AddressSet[src]

pub fn iter(&self) -> impl Iterator<Item = &Address>[src]

Retrieve the set’s iterator.

pub fn into_iter(self) -> impl Iterator<Item = Address>[src]

Turn this set into an iterator

pub fn first(&self) -> Address[src]

Take the first address of the set.

Trait Implementations

impl AsRef<Vec<Address, Global>> for AddressSet[src]

impl Clone for AddressSet[src]

impl Debug for AddressSet[src]

impl<'de> Deserialize<'de> for AddressSet[src]

impl Eq for AddressSet[src]

impl<'a> From<&'a Address> for AddressSet[src]

impl<'a> From<&'a str> for AddressSet[src]

impl From<Address> for AddressSet[src]

impl<T: Into<Address>> From<Vec<T, Global>> for AddressSet[src]

impl Hash for AddressSet[src]

impl Ord for AddressSet[src]

impl PartialEq<AddressSet> for AddressSet[src]

impl PartialOrd<AddressSet> for AddressSet[src]

impl Serialize for AddressSet[src]

impl StructuralEq for AddressSet[src]

impl StructuralPartialEq for AddressSet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash + ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,