[][src]Struct krill::commons::api::ListElement

pub struct ListElement { /* fields omitted */ }

This type represents a single object that is published at a publication server.

Methods

impl ListElement[src]

pub fn new(uri: Rsync, hash: HexEncodedHash) -> Self[src]

pub fn uri(&self) -> &Rsync[src]

pub fn hash(&self) -> &HexEncodedHash[src]

pub fn unpack(self) -> (Rsync, HexEncodedHash)[src]

Trait Implementations

impl Clone for ListElement[src]

impl Eq for ListElement[src]

impl PartialEq<ListElement> for ListElement[src]

impl Debug for ListElement[src]

impl Hash for ListElement[src]

impl StructuralPartialEq for ListElement[src]

impl StructuralEq for ListElement[src]

impl Serialize for ListElement[src]

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

Auto Trait Implementations

Blanket Implementations

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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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