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 !RefUnwindSafe for Input
impl !Send for Input
impl !Sync for Input
impl Unpin 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