pub struct GetSqlSchema<'a> { /* private fields */ }Expand description
Builder for [Client::get_sql_schema]
[`Client::get_sql_schema`]: super::Client::get_sql_schemaImplementations§
Source§impl<'a> GetSqlSchema<'a>
impl<'a> GetSqlSchema<'a>
pub fn new(client: &'a Client) -> Self
pub fn database<V>(self, value: V) -> Selfwhere
V: TryInto<GetSqlSchemaDatabase>,
pub fn table<V>(self, value: V) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<OnchainDataSchemaResponse>, Error<Error>>
pub async fn send( self, ) -> Result<ResponseValue<OnchainDataSchemaResponse>, Error<Error>>
Sends a GET request to /v2/data/query/schema
Trait Implementations§
Source§impl<'a> Clone for GetSqlSchema<'a>
impl<'a> Clone for GetSqlSchema<'a>
Source§fn clone(&self) -> GetSqlSchema<'a>
fn clone(&self) -> GetSqlSchema<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for GetSqlSchema<'a>
impl<'a> !RefUnwindSafe for GetSqlSchema<'a>
impl<'a> Send for GetSqlSchema<'a>
impl<'a> Sync for GetSqlSchema<'a>
impl<'a> Unpin for GetSqlSchema<'a>
impl<'a> UnsafeUnpin for GetSqlSchema<'a>
impl<'a> !UnwindSafe for GetSqlSchema<'a>
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