[−][src]Struct krill::commons::api::ObjectsDelta
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]
fn clone(&self) -> ObjectsDelta
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ObjectsDelta
[src]
impl<'de> Deserialize<'de> for ObjectsDelta
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ObjectsDelta
[src]
impl Into<PublishDelta> for ObjectsDelta
[src]
fn into(self) -> PublishDelta
[src]
impl PartialEq<ObjectsDelta> for ObjectsDelta
[src]
fn eq(&self, other: &ObjectsDelta) -> bool
[src]
fn ne(&self, other: &ObjectsDelta) -> bool
[src]
impl Serialize for ObjectsDelta
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for ObjectsDelta
[src]
impl StructuralPartialEq for ObjectsDelta
[src]
Auto Trait Implementations
impl RefUnwindSafe for ObjectsDelta
impl Send for ObjectsDelta
impl Sync for ObjectsDelta
impl Unpin for ObjectsDelta
impl UnwindSafe for ObjectsDelta
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,