pub struct PullPolicy { /* private fields */ }Expand description
A service-level Compose pull_policy value with its authored scalar retained.
Implementations§
Source§impl PullPolicy
impl PullPolicy
Sourcepub const fn raw(&self) -> &Located<String>
pub const fn raw(&self) -> &Located<String>
Returns the complete authored scalar and its source span.
Sourcepub const fn kind(&self) -> &PullPolicyKind
pub const fn kind(&self) -> &PullPolicyKind
Returns the non-destructive policy classification.
Sourcepub const fn is_recognized(&self) -> bool
pub const fn is_recognized(&self) -> bool
Reports whether the value is documented, deferred, or recognized by the current schema.
Trait Implementations§
Source§impl Clone for PullPolicy
impl Clone for PullPolicy
Source§fn clone(&self) -> PullPolicy
fn clone(&self) -> PullPolicy
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 PullPolicy
impl Debug for PullPolicy
impl Eq for PullPolicy
Source§impl PartialEq for PullPolicy
impl PartialEq for PullPolicy
impl StructuralPartialEq for PullPolicy
Auto Trait Implementations§
impl Freeze for PullPolicy
impl RefUnwindSafe for PullPolicy
impl Send for PullPolicy
impl Sync for PullPolicy
impl Unpin for PullPolicy
impl UnsafeUnpin for PullPolicy
impl UnwindSafe for PullPolicy
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