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

pub struct PublishDelta { /* fields omitted */ }

This type represents a multi element query as described in https://tools.ietf.org/html/rfc8181#section-3.7

Implementations

impl PublishDelta[src]

pub fn new(
    publishes: Vec<Publish>,
    updates: Vec<Update>,
    withdraws: Vec<Withdraw>
) -> Self
[src]

pub fn empty() -> Self[src]

pub fn publishes(&self) -> &Vec<Publish>[src]

pub fn updates(&self) -> &Vec<Update>[src]

pub fn withdraws(&self) -> &Vec<Withdraw>[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn unwrap(self) -> (Vec<Publish>, Vec<Update>, Vec<Withdraw>)[src]

Trait Implementations

impl Add<PublishDelta> for PublishDelta[src]

type Output = PublishDelta

The resulting type after applying the + operator.

impl Clone for PublishDelta[src]

impl Debug for PublishDelta[src]

impl Default for PublishDelta[src]

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

impl Eq for PublishDelta[src]

impl From<PublishDelta> for DeltaElements[src]

impl Into<PublishDelta> for PublicationDeltaInfo[src]

impl Into<PublishDelta> for ObjectsDelta[src]

impl PartialEq<PublishDelta> for PublishDelta[src]

impl Serialize for PublishDelta[src]

impl StructuralEq for PublishDelta[src]

impl StructuralPartialEq for PublishDelta[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.