pub struct Azure {
pub subscriptions: Vec<String>,
}Fields§
§subscriptions: Vec<String>Trait Implementations§
Source§impl Provider for Azure
impl Provider for Azure
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 Azure
impl RefUnwindSafe for Azure
impl Send for Azure
impl Sync for Azure
impl Unpin for Azure
impl UnsafeUnpin for Azure
impl UnwindSafe for Azure
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