#[non_exhaustive]pub struct ProjectBusy {
pub operation_id: String,
pub kind: OperationKind,
pub start_time: Option<Timestamp>,
}Expand description
Detail of an ErrorCode::Unavailable error: an operation, or a short action, holds the project. The message says the same in words.
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.operation_id: StringEmpty = a short action, done while its caller waits: call again in a few seconds. Else wait for it with Client::get_operation, even while it is still starting; when it is your own operation_id, the first call with it is still starting it: call again.
kind: OperationKindUnspecified when operation_id is empty.
start_time: Option<Timestamp>Since when it holds the project.
Trait Implementations§
Source§impl Clone for ProjectBusy
impl Clone for ProjectBusy
Source§impl Debug for ProjectBusy
impl Debug for ProjectBusy
Source§impl Default for ProjectBusy
impl Default for ProjectBusy
Source§impl<'de> Deserialize<'de> for ProjectBusy
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 ProjectBusy
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 PartialEq for ProjectBusy
impl PartialEq for ProjectBusy
Source§impl Serialize for ProjectBusy
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 ProjectBusy
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 ProjectBusy
Auto Trait Implementations§
impl Freeze for ProjectBusy
impl RefUnwindSafe for ProjectBusy
impl Send for ProjectBusy
impl Sync for ProjectBusy
impl Unpin for ProjectBusy
impl UnsafeUnpin for ProjectBusy
impl UnwindSafe for ProjectBusy
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