pub struct SchemaReplaceInput {
pub schema_document: String,
pub force_drop_existing: bool,
}Expand description
replace_schema input.
Deliberately not Default: force_drop_existing is a confirmation for an
irreversible operation, not a mode switch, and the manifest gives it no
serde default — the edge always reads it off the wire. Deriving Default
would let ..Default::default() fill in the confirmation silently.
Fields§
§schema_document: String§force_drop_existing: boolMust be true; the edge rejects the request otherwise.
Trait Implementations§
Source§impl Clone for SchemaReplaceInput
impl Clone for SchemaReplaceInput
Source§impl Debug for SchemaReplaceInput
impl Debug for SchemaReplaceInput
Auto Trait Implementations§
impl Freeze for SchemaReplaceInput
impl RefUnwindSafe for SchemaReplaceInput
impl Send for SchemaReplaceInput
impl Sync for SchemaReplaceInput
impl Unpin for SchemaReplaceInput
impl UnsafeUnpin for SchemaReplaceInput
impl UnwindSafe for SchemaReplaceInput
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