#[non_exhaustive]pub struct NoMachine {
pub reason: NoMachineReason,
pub url: String,
}Expand description
Detail of a ErrorCode::FailedPrecondition error: the account has no machine to run projects on yet.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reason: NoMachineReason§url: StringWhere the person goes on in the browser.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NoMachine
From the API’s JSON. A field this version does not know is refused, as the API
refuses one it does not have.
impl<'de> Deserialize<'de> for NoMachine
From the API’s JSON. A field this version does not know is refused, as the API refuses one it does not have.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for NoMachine
As the API’s JSON: the proto’s field names, an enum as its value’s name, a 64-bit
integer as a string, a time as RFC 3339, bytes as base64.
impl Serialize for NoMachine
As the API’s JSON: the proto’s field names, an enum as its value’s name, a 64-bit integer as a string, a time as RFC 3339, bytes as base64.
impl StructuralPartialEq for NoMachine
Auto Trait Implementations§
impl Freeze for NoMachine
impl RefUnwindSafe for NoMachine
impl Send for NoMachine
impl Sync for NoMachine
impl Unpin for NoMachine
impl UnsafeUnpin for NoMachine
impl UnwindSafe for NoMachine
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