pub struct Input {Show 20 fields
pub vms: HashMap<String, Vm>,
pub vms_images: HashMap<String, Image>,
pub catalog: HashMap<String, CatalogEntry>,
pub need_vm_types_fetch: bool,
pub use_dedicated_instance: bool,
pub vm_types: HashMap<String, VmType>,
pub account: Option<Account>,
pub region: Option<String>,
pub need_default_resource: bool,
pub nat_services: HashMap<String, NatService>,
pub volumes: HashMap<String, Volume>,
pub snapshots: HashMap<String, Snapshot>,
pub fetch_date: Option<DateTime<Utc>>,
pub public_ips: HashMap<String, PublicIp>,
pub filters: Option<Filter>,
pub flexible_gpus: HashMap<String, FlexibleGpu>,
pub load_balancers: Vec<String>,
pub vpns: Vec<String>,
pub buckets: HashMap<String, OosBucket>,
pub consumption: HashMap<String, ConsumptionEntry>,
/* private fields */
}Fields§
§vms: HashMap<String, Vm>§vms_images: HashMap<String, Image>§catalog: HashMap<String, CatalogEntry>§need_vm_types_fetch: bool§use_dedicated_instance: bool§vm_types: HashMap<String, VmType>§account: Option<Account>§region: Option<String>§need_default_resource: bool§nat_services: HashMap<String, NatService>§volumes: HashMap<String, Volume>§snapshots: HashMap<String, Snapshot>§fetch_date: Option<DateTime<Utc>>§public_ips: HashMap<String, PublicIp>§filters: Option<Filter>§flexible_gpus: HashMap<String, FlexibleGpu>§load_balancers: Vec<String>§vpns: Vec<String>§buckets: HashMap<String, OosBucket>§consumption: HashMap<String, ConsumptionEntry>Implementations§
Source§impl Input
impl Input
pub fn fetch_dedicated_instances(&self) -> Result<(), Box<dyn Error>>
pub fn fill_resource_dedicated_instances(&self, resources: &mut Resources)
Source§impl Input
impl Input
pub fn fetch_flexible_gpus(&mut self) -> Result<(), Box<dyn Error>>
pub fn fill_resource_flexible_gpus(&self, resources: &mut Resources)
Source§impl Input
impl Input
pub fn fetch_load_balancers(&mut self) -> Result<(), Box<dyn Error>>
pub fn fill_resource_load_balancers(&self, resources: &mut Resources)
Source§impl Input
impl Input
pub fn fetch_nat_services(&mut self) -> Result<(), Box<dyn Error>>
pub fn fill_resource_nat_service(&self, resources: &mut Resources)
Source§impl Input
impl Input
pub fn fetch_buckets(&mut self) -> Result<(), Box<dyn Error>>
pub fn fill_resource_oos(&self, resources: &mut Resources)
Source§impl Input
impl Input
pub fn fetch_public_ips(&mut self) -> Result<(), Box<dyn Error>>
pub fn fill_resource_public_ip(&self, resources: &mut Resources)
Source§impl Input
impl Input
pub fn fetch_snapshots(&mut self) -> Result<(), Box<dyn Error>>
pub fn fill_resource_snapshot(&self, resources: &mut Resources)
Source§impl Input
impl Input
pub fn fetch_volumes(&mut self) -> Result<(), Box<dyn Error>>
pub fn fill_resource_volume(&self, resources: &mut Resources)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Input
impl !RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl !UnwindSafe for Input
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreCreates a shared type from an unshared type.