Skip to main content
pub struct DropSchemaRequestOptions 
    pub no_error_if_not_exists: String,
    pub cascade: String,

Optional parameters for the /drop/schema endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

no_error_if_not_exists: String

If true and if the schema specified in schema_name does not exist, no error is returned. If false and if the schema specified in schema_name does not exist, then an error is returned. Server default: false.

cascade: String

If true, all tables within the schema will be dropped. If false, the schema will be dropped only if empty. Server default: false.

Implementations

Converts the set (non-empty) options into the wire-format string map.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more