pub struct SchemaDropResponse {
pub namespace: String,
pub schema_version: u32,
pub target_kind: u8,
pub target_name: String,
pub dropped: bool,
pub live_rows: u32,
pub validation_errors: Vec<SchemaValidationErrorWire>,
}Expand description
SCHEMA_DROP_RESP (0x01A5).
schema_version is the new active version after the narrow, or 0 when
nothing was dropped or the drop was rejected. dropped is true only when
a declared row was actually removed. live_rows is the count of live rows
found referencing the target — non-zero with dropped == false means the
drop was refused for lack of force.
Fields§
§namespace: String§schema_version: u32§target_kind: u8§target_name: String§dropped: bool§live_rows: u32§validation_errors: Vec<SchemaValidationErrorWire>Trait Implementations§
Source§impl Clone for SchemaDropResponse
impl Clone for SchemaDropResponse
Source§impl Debug for SchemaDropResponse
impl Debug for SchemaDropResponse
Source§impl<'de> Deserialize<'de> for SchemaDropResponse
impl<'de> Deserialize<'de> for SchemaDropResponse
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
impl Eq for SchemaDropResponse
Source§impl PartialEq for SchemaDropResponse
impl PartialEq for SchemaDropResponse
Source§impl Serialize for SchemaDropResponse
impl Serialize for SchemaDropResponse
impl StructuralPartialEq for SchemaDropResponse
Auto Trait Implementations§
impl Freeze for SchemaDropResponse
impl RefUnwindSafe for SchemaDropResponse
impl Send for SchemaDropResponse
impl Sync for SchemaDropResponse
impl Unpin for SchemaDropResponse
impl UnsafeUnpin for SchemaDropResponse
impl UnwindSafe for SchemaDropResponse
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