pub struct DescribeTableRequest {
pub identity: Option<Box<Identity>>,
pub context: Option<HashMap<String, String>>,
pub id: Option<Vec<String>>,
pub version: Option<i64>,
pub with_table_uri: Option<bool>,
pub load_detailed_metadata: Option<bool>,
pub vend_credentials: Option<bool>,
}Fields§
§identity: Option<Box<Identity>>§context: Option<HashMap<String, String>>Arbitrary context for a request as key-value pairs. How to use the context is custom to the specific implementation. REST NAMESPACE ONLY Context entries are passed via HTTP headers using the naming convention x-lance-ctx-<key>: <value>. For example, a context entry {\"trace_id\": \"abc123\"} would be sent as the header x-lance-ctx-trace_id: abc123.
id: Option<Vec<String>>§version: Option<i64>Version of the table to describe. If not specified, server should resolve it to the latest version.
with_table_uri: Option<bool>Whether to include the table URI in the response. Default is false.
load_detailed_metadata: Option<bool>Whether to load detailed metadata that requires opening the dataset. When true, the response must include all detailed metadata such as version, schema, and stats which require reading the dataset. When not set, the implementation can decide whether to return detailed metadata and which parts of detailed metadata to return.
vend_credentials: Option<bool>Whether to include vended credentials in the response storage_options. When true, the implementation should provide vended credentials for accessing storage. When not set, the implementation can decide whether to return vended credentials.
Implementations§
Source§impl DescribeTableRequest
impl DescribeTableRequest
pub fn new() -> DescribeTableRequest
Trait Implementations§
Source§impl Clone for DescribeTableRequest
impl Clone for DescribeTableRequest
Source§fn clone(&self) -> DescribeTableRequest
fn clone(&self) -> DescribeTableRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DescribeTableRequest
impl Debug for DescribeTableRequest
Source§impl Default for DescribeTableRequest
impl Default for DescribeTableRequest
Source§fn default() -> DescribeTableRequest
fn default() -> DescribeTableRequest
Source§impl<'de> Deserialize<'de> for DescribeTableRequest
impl<'de> Deserialize<'de> for DescribeTableRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DescribeTableRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DescribeTableRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for DescribeTableRequest
impl PartialEq for DescribeTableRequest
Source§impl Serialize for DescribeTableRequest
impl Serialize for DescribeTableRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for DescribeTableRequest
Auto Trait Implementations§
impl Freeze for DescribeTableRequest
impl RefUnwindSafe for DescribeTableRequest
impl Send for DescribeTableRequest
impl Sync for DescribeTableRequest
impl Unpin for DescribeTableRequest
impl UnwindSafe for DescribeTableRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more