pub struct ProjectServiceDependency { /* private fields */ }Expand description
One effective service dependency with source-aware long-form options.
Implementations§
Source§impl ProjectServiceDependency
impl ProjectServiceDependency
Sourcepub const fn service(&self) -> &ProjectKey
pub const fn service(&self) -> &ProjectKey
Returns the referenced service name and all contributing name locations.
Sourcepub const fn condition(&self) -> Option<&ProjectValue<DependencyCondition>>
pub const fn condition(&self) -> Option<&ProjectValue<DependencyCondition>>
Returns the explicitly authored readiness condition.
Sourcepub const fn restart(&self) -> Option<&ProjectValue<BooleanValue>>
pub const fn restart(&self) -> Option<&ProjectValue<BooleanValue>>
Returns whether Compose-controlled dependency updates restart this service.
Sourcepub const fn required(&self) -> Option<&ProjectValue<BooleanValue>>
pub const fn required(&self) -> Option<&ProjectValue<BooleanValue>>
Returns whether the dependency is required.
Sourcepub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
pub fn unmodeled_fields(&self) -> &[ProjectFieldReference]
Returns retained long-form fields outside the typed dependency boundary.
Trait Implementations§
Source§impl Clone for ProjectServiceDependency
impl Clone for ProjectServiceDependency
Source§fn clone(&self) -> ProjectServiceDependency
fn clone(&self) -> ProjectServiceDependency
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 Debug for ProjectServiceDependency
impl Debug for ProjectServiceDependency
impl Eq for ProjectServiceDependency
Source§impl PartialEq for ProjectServiceDependency
impl PartialEq for ProjectServiceDependency
impl StructuralPartialEq for ProjectServiceDependency
Auto Trait Implementations§
impl Freeze for ProjectServiceDependency
impl RefUnwindSafe for ProjectServiceDependency
impl Send for ProjectServiceDependency
impl Sync for ProjectServiceDependency
impl Unpin for ProjectServiceDependency
impl UnsafeUnpin for ProjectServiceDependency
impl UnwindSafe for ProjectServiceDependency
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