pub struct ListTablesRequest { /* private fields */ }
Expand description
Struct used for listing tables in the NoSQL Database.
Implementations§
Source§impl ListTablesRequest
impl ListTablesRequest
pub fn new() -> ListTablesRequest
Sourcepub fn timeout(self, t: &Duration) -> Self
pub fn timeout(self, t: &Duration) -> Self
Specify the timeout value for the request.
This is optional.
If set, it must be greater than or equal to 1 millisecond, otherwise an
IllegalArgument error will be returned.
If not set, the default timeout value configured for the Handle
is used.
Sourcepub fn compartment_id(self, compartment_id: &str) -> Self
pub fn compartment_id(self, compartment_id: &str) -> Self
Cloud Service only: set the name or id of a compartment to be used for this operation.
If the associated handle authenticated as an Instance Principal, this value must be an OCID. In all other cases, the value may be specified as either a name (or path for nested compartments) or as an OCID.
If no compartment is given, the default compartment id for the handle is used. If that value was not specified, the root compartment of the tenancy will be used.
pub fn namespace(self, namespace: &str) -> ListTablesRequest
pub fn limit(self, limit: i32) -> ListTablesRequest
pub fn start_index(self, start_index: i32) -> ListTablesRequest
pub async fn execute(&self, h: &Handle) -> Result<ListTablesResult, NoSQLError>
Trait Implementations§
Source§impl Debug for ListTablesRequest
impl Debug for ListTablesRequest
Source§impl Default for ListTablesRequest
impl Default for ListTablesRequest
Source§fn default() -> ListTablesRequest
fn default() -> ListTablesRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListTablesRequest
impl RefUnwindSafe for ListTablesRequest
impl Send for ListTablesRequest
impl Sync for ListTablesRequest
impl Unpin for ListTablesRequest
impl UnwindSafe for ListTablesRequest
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