pub struct Client { /* private fields */ }Implementations§
Source§impl Client
impl Client
pub fn bq_client(token: String, project_id: &str) -> Self
pub fn endpoint(&self, request: Request, body: ContentType) -> Response
Sourcepub fn jobs_query_results(&self, job_id: &str, location: &str) -> QueryResponse
pub fn jobs_query_results(&self, job_id: &str, location: &str) -> QueryResponse
Sourcepub fn jobs_query(&self, request: QueryRequest) -> QueryResponse
pub fn jobs_query(&self, request: QueryRequest) -> QueryResponse
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query the rows data is returned as a protobuf
pub fn tables_list(&self, dataset_id: &str) -> Response
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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