pub struct StartRefusal {
pub code: String,
pub message: String,
pub at_unix_ms: u64,
}Expand description
Why the last start was refused.
Fields§
§code: StringMachine-readable code, e.g. entitlements_unpinned.
message: StringThe full human-readable refusal, including the remedy.
at_unix_ms: u64When it was refused, as unix milliseconds. Lets a start that began
later tell this refusal from an older one it has since outlived.
Implementations§
Source§impl StartRefusal
impl StartRefusal
Trait Implementations§
Source§impl Clone for StartRefusal
impl Clone for StartRefusal
Source§impl Debug for StartRefusal
impl Debug for StartRefusal
Source§impl<'de> Deserialize<'de> for StartRefusal
impl<'de> Deserialize<'de> for StartRefusal
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
impl Eq for StartRefusal
Source§impl PartialEq for StartRefusal
impl PartialEq for StartRefusal
Source§impl Serialize for StartRefusal
impl Serialize for StartRefusal
impl StructuralPartialEq for StartRefusal
Auto Trait Implementations§
impl Forget for StartRefusal
impl Freeze for StartRefusal
impl Move for StartRefusal
impl RefUnwindSafe for StartRefusal
impl Send for StartRefusal
impl Sync for StartRefusal
impl Unpin for StartRefusal
impl UnsafeUnpin for StartRefusal
impl UnwindSafe for StartRefusal
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.