pub struct ServiceDependency {
pub name: String,
pub endpoint: String,
pub version: Option<String>,
pub auth_requirements: Vec<AuthRequirement>,
pub sla_requirements: SlaRequirements,
}Expand description
Service dependency specification
Fields§
§name: StringService name or identifier
endpoint: StringService endpoint URL
version: Option<String>Required service version
auth_requirements: Vec<AuthRequirement>Authentication requirements
sla_requirements: SlaRequirementsService level agreement requirements
Trait Implementations§
Source§impl Clone for ServiceDependency
impl Clone for ServiceDependency
Source§fn clone(&self) -> ServiceDependency
fn clone(&self) -> ServiceDependency
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ServiceDependency
impl RefUnwindSafe for ServiceDependency
impl Send for ServiceDependency
impl Sync for ServiceDependency
impl Unpin for ServiceDependency
impl UnwindSafe for ServiceDependency
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> 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 more