pub struct HealthcheckRetries(/* private fields */);Expand description
Raw-preserving non-negative health-check retry count.
Implementations§
Source§impl HealthcheckRetries
impl HealthcheckRetries
Sourcepub fn new(value: impl Into<String>) -> Result<Self, ModelError>
pub fn new(value: impl Into<String>) -> Result<Self, ModelError>
Creates a retry count while retaining its authored decimal spelling.
§Errors
Returns ModelError::EmptyValue, ModelError::ContainsNul, or
ModelError::InvalidHealthcheckRetries.
Trait Implementations§
Source§impl Clone for HealthcheckRetries
impl Clone for HealthcheckRetries
Source§fn clone(&self) -> HealthcheckRetries
fn clone(&self) -> HealthcheckRetries
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 HealthcheckRetries
impl Debug for HealthcheckRetries
impl Eq for HealthcheckRetries
Source§impl PartialEq for HealthcheckRetries
impl PartialEq for HealthcheckRetries
impl StructuralPartialEq for HealthcheckRetries
Auto Trait Implementations§
impl Freeze for HealthcheckRetries
impl RefUnwindSafe for HealthcheckRetries
impl Send for HealthcheckRetries
impl Sync for HealthcheckRetries
impl Unpin for HealthcheckRetries
impl UnsafeUnpin for HealthcheckRetries
impl UnwindSafe for HealthcheckRetries
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