pub struct ListDatabasesResponse {
pub databases: Vec<String>,
pub next_cursor: Option<Cursor>,
}Expand description
Response for the listDatabases tool.
Fields§
§databases: Vec<String>Sorted list of database names for this page.
next_cursor: Option<Cursor>Opaque cursor pointing to the next page. Absent when this is the final page.
Trait Implementations§
Source§impl Debug for ListDatabasesResponse
impl Debug for ListDatabasesResponse
Source§impl JsonSchema for ListDatabasesResponse
impl JsonSchema for ListDatabasesResponse
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ListDatabasesResponse
impl RefUnwindSafe for ListDatabasesResponse
impl Send for ListDatabasesResponse
impl Sync for ListDatabasesResponse
impl Unpin for ListDatabasesResponse
impl UnsafeUnpin for ListDatabasesResponse
impl UnwindSafe for ListDatabasesResponse
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