pub struct MutationStatus {
pub completed: bool,
pub warning: Option<String>,
}
Expand description
The status of an asynchronous mutation.
JSON schema
{
"description": "The status of an asynchronous mutation.",
"type": "object",
"required": [
"completed"
],
"properties": {
"completed": {
"description": "Returns whether the mutation has completed.",
"examples": [
true
],
"type": "boolean"
},
"warning": {
"description": "A warning if the mutation completed but with
caveats.",
"examples": [
"Initial page HTML was invalid."
],
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "MutationStatus"
}
Fields§
§completed: bool
Returns whether the mutation has completed.
warning: Option<String>
A warning if the mutation completed but with caveats.
Trait Implementations§
Source§impl Clone for MutationStatus
impl Clone for MutationStatus
Source§fn clone(&self) -> MutationStatus
fn clone(&self) -> MutationStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 MutationStatus
impl Debug for MutationStatus
Source§impl<'de> Deserialize<'de> for MutationStatus
impl<'de> Deserialize<'de> for MutationStatus
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
Source§impl From<&MutationStatus> for MutationStatus
impl From<&MutationStatus> for MutationStatus
Source§fn from(value: &MutationStatus) -> Self
fn from(value: &MutationStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MutationStatus
impl RefUnwindSafe for MutationStatus
impl Send for MutationStatus
impl Sync for MutationStatus
impl Unpin for MutationStatus
impl UnwindSafe for MutationStatus
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