[−][src]Struct ec2_instance_metadata::InstanceMetadata
InstanceMetadata
holds the fetched instance metadata. Fields
on this struct may be incomplete if AWS has updated the fields
or if they haven't been explicitly provided.
Fields
region: &'static str
AWS Region - always available
availability_zone: String
AWS Availability Zone - always available
instance_id: String
AWS Instance Id - always available
account_id: String
AWS Account Id - always available, marked as Internal Only per: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-categories.html
ami_id: String
AWS AMS Id - always available
instance_type: String
AWS Instance Type - always available
local_hostname: String
AWS Instance Local Hostname - always available
hostname: String
AWS Instance Hostname - always available
public_hostname: Option<String>
AWS Instance Public Hostname - optionally available
Trait Implementations
impl Clone for InstanceMetadata
[src]
fn clone(&self) -> InstanceMetadata
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InstanceMetadata
[src]
impl Display for InstanceMetadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for InstanceMetadata
impl Send for InstanceMetadata
impl Sync for InstanceMetadata
impl Unpin for InstanceMetadata
impl UnwindSafe for InstanceMetadata
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,