> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HasSchemaResponse

> HasSchemaResponse — Kinetica Rust API

[gpudb\_api](https://docs.kinetica.com/content/api/rust/index.md)::<wbr />[generated](https://docs.kinetica.com/content/api/rust/generated/index.md)::<wbr />[api](https://docs.kinetica.com/content/api/rust/generated/api/index.md)
[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16123-L16130)&#x20;

<pre>`pub struct HasSchemaResponse {    pub schema_name: String,    pub schema_exists: bool,    pub info: HashMap<String, String>,}`</pre>

The response from the `/has/schema` endpoint.

Fields
`schema_name: String`

Value of `schema_name`.

`schema_exists: bool`

Indicates whether the schema exists or not.

`info: HashMap<String, String>`

Additional information.

## Trait Implementations

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16122)
impl [Clone](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html) for [HasSchemaResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.HasSchemaResponse.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16122)
fn [clone](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html#tymethod.clone)(\&self) -> [HasSchemaResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.HasSchemaResponse.md)

Returns a duplicate of the value. [Read more](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html#tymethod.clone)

1.0.0 (const: [unstable](https://github.com/rust-lang/rust/issues/142757)) · [Source](https://doc.rust-lang.org/1.98.1/src/core/clone.rs.html#245-247)
fn [clone\_from](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html#method.clone_from)(\&mut self, source: \&Self)

Performs copy-assignment from `source`. [Read more](https://doc.rust-lang.org/1.98.1/core/clone/trait.Clone.html#method.clone_from)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16122)
impl [Debug](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html) for [HasSchemaResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.HasSchemaResponse.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16122)
fn [fmt](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html#tymethod.fmt)(\&self, f: \&mut [Formatter](https://doc.rust-lang.org/1.98.1/core/fmt/struct.Formatter.html)\<'\_>) -> [Result](https://doc.rust-lang.org/1.98.1/core/fmt/type.Result.html)

Formats the value using the given formatter. [Read more](https://doc.rust-lang.org/1.98.1/core/fmt/trait.Debug.html#tymethod.fmt)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16122)
impl [Default](https://doc.rust-lang.org/1.98.1/core/default/trait.Default.html) for [HasSchemaResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.HasSchemaResponse.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16122)
fn [default](https://doc.rust-lang.org/1.98.1/core/default/trait.Default.html#tymethod.default)() -> [HasSchemaResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.HasSchemaResponse.md)

Returns the “default value” for a type. [Read more](https://doc.rust-lang.org/1.98.1/core/default/trait.Default.html#tymethod.default)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16122)
impl\<'de> [Deserialize](https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html)\<'de> for [HasSchemaResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.HasSchemaResponse.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16122)

#### fn [deserialize](https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html#tymethod.deserialize)\<\_\_D>(\_\_deserializer: \_\_D) ->[Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<Self, \_\_D::[Error](https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserializer.html#associatedtype.Error)>&#xA;where \_\_D: [Deserializer](https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserializer.html)\<'de>,

Deserialize this value from the given Serde deserializer. [Read more](https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html#tymethod.deserialize)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16122)
impl [Serialize](https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html) for [HasSchemaResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.HasSchemaResponse.md)

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L16122)

#### fn [serialize](https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html#tymethod.serialize)\<\_\_S>(\&self, \_\_serializer: \_\_S) ->[Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<\_\_S::[Ok](https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html#associatedtype.Ok), \_\_S::[Error](https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html#associatedtype.Error)>&#xA;where \_\_S: [Serializer](https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serializer.html),

Serialize this value into the given Serde serializer. [Read more](https://docs.rs/serde_core/1.0.228/serde_core/ser/trait.Serialize.html#tymethod.serialize)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.