pub struct Oracle {
pub regions: Vec<String>,
pub compartment: String,
}Expand description
Oracle Cloud Infrastructure provider configuration.
Fields§
§regions: Vec<String>§compartment: StringTrait Implementations§
Source§impl Provider for Oracle
impl Provider for Oracle
Source§fn short_label(&self) -> &str
fn short_label(&self) -> &str
Short label for aliases (e.g. “do”).
Source§fn fetch_hosts_cancellable(
&self,
token: &str,
cancel: &AtomicBool,
) -> Result<Vec<ProviderHost>, ProviderError>
fn fetch_hosts_cancellable( &self, token: &str, cancel: &AtomicBool, ) -> Result<Vec<ProviderHost>, ProviderError>
Fetch hosts with cancellation support.
Source§fn fetch_hosts_with_progress(
&self,
token: &str,
cancel: &AtomicBool,
progress: &dyn Fn(&str),
) -> Result<Vec<ProviderHost>, ProviderError>
fn fetch_hosts_with_progress( &self, token: &str, cancel: &AtomicBool, progress: &dyn Fn(&str), ) -> Result<Vec<ProviderHost>, ProviderError>
Fetch hosts with progress reporting. Default delegates to fetch_hosts_cancellable.
Source§fn fetch_hosts(&self, token: &str) -> Result<Vec<ProviderHost>, ProviderError>
fn fetch_hosts(&self, token: &str) -> Result<Vec<ProviderHost>, ProviderError>
Fetch all servers from the provider API.
Auto Trait Implementations§
impl Freeze for Oracle
impl RefUnwindSafe for Oracle
impl Send for Oracle
impl Sync for Oracle
impl Unpin for Oracle
impl UnsafeUnpin for Oracle
impl UnwindSafe for Oracle
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more