pub struct Oci { /* private fields */ }Expand description
OCI HTTP client
Implementations§
Source§impl Oci
impl Oci
Sourcepub fn tenancy_id(&self) -> &str
pub fn tenancy_id(&self) -> &str
Return tenancy ID
Sourcepub fn compartment_id(&self) -> &str
pub fn compartment_id(&self) -> &str
Return compartment ID (defaults to tenancy_id if not set)
Sourcepub async fn email_delivery(&self) -> Result<EmailDelivery>
pub async fn email_delivery(&self) -> Result<EmailDelivery>
Create Email Delivery client
Sourcepub fn object_storage(&self, namespace: impl Into<String>) -> ObjectStorage
pub fn object_storage(&self, namespace: impl Into<String>) -> ObjectStorage
Create Object Storage client
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Oci
impl !RefUnwindSafe for Oci
impl Send for Oci
impl Sync for Oci
impl Unpin for Oci
impl !UnwindSafe for Oci
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