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

pub struct Withdraw { /* fields omitted */ }

Type representing a json equivalent to a withdraw element that removes an object from the repository: https://tools.ietf.org/html/rfc8181#section-3.3

Implementations

impl Withdraw[src]

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

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

pub fn from_list_element(el: &ListElement) -> Self[src]

pub fn tag(&self) -> &Option<String>[src]

pub fn tag_for_xml(&self) -> String[src]

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

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

pub fn unwrap(self) -> (Option<String>, Rsync, HexEncodedHash)[src]

Trait Implementations

impl Clone for Withdraw[src]

impl Debug for Withdraw[src]

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

impl Eq for Withdraw[src]

impl From<Withdraw> for WithdrawElement[src]

impl PartialEq<Withdraw> for Withdraw[src]

impl Serialize for Withdraw[src]

impl StructuralEq for Withdraw[src]

impl StructuralPartialEq for Withdraw[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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.