pub struct SchemaUploadBody {
pub schema_document: String,
pub dry_run: bool,
pub allow_breaking: bool,
}Expand description
POST /v1/schema body — merge a document into the active namespace.
Fields§
§schema_document: String§dry_run: boolValidate and report without persisting.
allow_breaking: boolPermit a backward-incompatible change.
Implementations§
Source§impl SchemaUploadBody
impl SchemaUploadBody
Sourcepub fn to_request(self) -> SchemaUploadRequest
pub fn to_request(self) -> SchemaUploadRequest
Build the wire request (mints a fresh request_id).
Trait Implementations§
Source§impl Debug for SchemaUploadBody
impl Debug for SchemaUploadBody
Source§impl<'de> Deserialize<'de> for SchemaUploadBody
impl<'de> Deserialize<'de> for SchemaUploadBody
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 SchemaUploadBody
impl RefUnwindSafe for SchemaUploadBody
impl Send for SchemaUploadBody
impl Sync for SchemaUploadBody
impl Unpin for SchemaUploadBody
impl UnsafeUnpin for SchemaUploadBody
impl UnwindSafe for SchemaUploadBody
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