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

pub struct CurrentObjects(_);

Implementations

impl CurrentObjects[src]

pub fn insert(
    &mut self,
    name: ObjectName,
    object: CurrentObject
) -> Option<CurrentObject>
[src]

pub fn apply_delta(&mut self, delta: ObjectsDelta)[src]

pub fn deactivate(&mut self)[src]

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

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

pub fn object_for(&self, name: &ObjectName) -> Option<&CurrentObject>[src]

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

Returns withdraws for all the objects in this set. E.g. when the resource class containing this set is removed, or the key is destroyed.

pub fn publish(&self, base_uri: &RepoInfo, name_space: &str) -> Vec<Publish>[src]

Returns publish's for all objects in this set.

pub fn mft_entries(&self) -> Vec<FileAndHash<Bytes, Bytes>>[src]

Returns Manifest Entries, i.e. excluding the manifest itself

Trait Implementations

impl Add<CurrentObjects> for CurrentObjects[src]

type Output = CurrentObjects

The resulting type after applying the + operator.

impl Clone for CurrentObjects[src]

impl Debug for CurrentObjects[src]

impl Default for CurrentObjects[src]

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

impl Eq for CurrentObjects[src]

impl PartialEq<CurrentObjects> for CurrentObjects[src]

impl Serialize for CurrentObjects[src]

impl StructuralEq for CurrentObjects[src]

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