pub struct OCIConfig {
pub user: String,
pub tenancy: String,
pub region: String,
pub key_file: Option<String>,
pub fingerprint: Option<String>,
}
Expand description
Config carries all the configuration for Oracle services. will be loaded from default config file ~/.oci/config
Fields§
§user: String
userID for Oracle Cloud Infrastructure.
tenancy: String
tenancyID for Oracle Cloud Infrastructure.
region: String
region for Oracle Cloud Infrastructure.
key_file: Option<String>
private key file for Oracle Cloud Infrastructure.
fingerprint: Option<String>
fingerprint for the key_file.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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