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

pub struct ObjectsDelta { /* fields omitted */ }

This type defines the changes to be published under a resource class, so it includes the base 'ca_repo' and all objects that are added, updated, or withdrawn.

Implementations

impl ObjectsDelta[src]

pub fn new(ca_repo: Rsync) -> Self[src]

Creates an empty ObjectsDelta for a key. Requires the ca_repo uri for this key.

pub fn add(&mut self, added: AddedObject)[src]

pub fn added(&self) -> &Vec<AddedObject>[src]

pub fn update(&mut self, updated: UpdatedObject)[src]

pub fn updated(&self) -> &Vec<UpdatedObject>[src]

pub fn withdraw(&mut self, withdrawn: WithdrawnObject)[src]

pub fn withdrawn(&self) -> &Vec<WithdrawnObject>[src]

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

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

Trait Implementations

impl Clone for ObjectsDelta[src]

impl Debug for ObjectsDelta[src]

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

impl Eq for ObjectsDelta[src]

impl Into<PublishDelta> for ObjectsDelta[src]

impl PartialEq<ObjectsDelta> for ObjectsDelta[src]

impl Serialize for ObjectsDelta[src]

impl StructuralEq for ObjectsDelta[src]

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