pub struct DependantApplication<T> {
pub application_id: String,
pub instances: u64,
pub injections: Vec<T>,
}Expand description
Describes an application dependency.
There are a number of methods that return whether a certain resource (e.g. a secret, a volume or an environment variable) is used by a dependant application. This struct represents one usage of the resource by an application.
Fields§
§application_id: StringIdentifies the dependant application.
instances: u64Number of instances of the dependant application.
injections: Vec<T>Injections that the dependencies originate from.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for DependantApplication<T>
impl<T: Clone> Clone for DependantApplication<T>
Source§fn clone(&self) -> DependantApplication<T>
fn clone(&self) -> DependantApplication<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for DependantApplication<T>
impl<T: Debug> Debug for DependantApplication<T>
Source§impl<'de, T> Deserialize<'de> for DependantApplication<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for DependantApplication<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T> Display for DependantApplication<T>where
T: Display,
impl<T> Display for DependantApplication<T>where
T: Display,
Source§impl<T: Ord> Ord for DependantApplication<T>
impl<T: Ord> Ord for DependantApplication<T>
Source§impl<T: PartialEq> PartialEq for DependantApplication<T>
impl<T: PartialEq> PartialEq for DependantApplication<T>
Source§fn eq(&self, other: &DependantApplication<T>) -> bool
fn eq(&self, other: &DependantApplication<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T: Ord> PartialOrd for DependantApplication<T>
impl<T: Ord> PartialOrd for DependantApplication<T>
Source§impl<T> Serialize for DependantApplication<T>where
T: Serialize,
impl<T> Serialize for DependantApplication<T>where
T: Serialize,
impl<T: Eq> Eq for DependantApplication<T>
impl<T> StructuralPartialEq for DependantApplication<T>
Auto Trait Implementations§
impl<T> Freeze for DependantApplication<T>
impl<T> RefUnwindSafe for DependantApplication<T>where
T: RefUnwindSafe,
impl<T> Send for DependantApplication<T>where
T: Send,
impl<T> Sync for DependantApplication<T>where
T: Sync,
impl<T> Unpin for DependantApplication<T>where
T: Unpin,
impl<T> UnsafeUnpin for DependantApplication<T>
impl<T> UnwindSafe for DependantApplication<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.