pub struct SchemaState {
pub definition: String,
pub status: String,
pub details: String,
}Expand description
A stored GraphQL-schema document + its async creation status.
Fields§
§definition: StringThe raw SDL schema document ingested by StartSchemaCreation.
status: StringCurrent SchemaStatus (Processing until the first status read
settles it to Success), matching the async lifecycle of other ops.
details: StringHuman-readable status details.
Trait Implementations§
Source§impl Clone for SchemaState
impl Clone for SchemaState
Source§fn clone(&self) -> SchemaState
fn clone(&self) -> SchemaState
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 SchemaState
impl Debug for SchemaState
Source§impl Default for SchemaState
impl Default for SchemaState
Source§fn default() -> SchemaState
fn default() -> SchemaState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemaState
impl<'de> Deserialize<'de> for SchemaState
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
Auto Trait Implementations§
impl Freeze for SchemaState
impl RefUnwindSafe for SchemaState
impl Send for SchemaState
impl Sync for SchemaState
impl Unpin for SchemaState
impl UnsafeUnpin for SchemaState
impl UnwindSafe for SchemaState
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