#[non_exhaustive]pub struct Tagged {
pub id: String,
pub kind: String,
pub expires_at: Option<u64>,
pub instance: Option<String>,
}Expand description
A resource a cloud holds with Isoloom’s tags.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringIts id as the cloud names it (an ARN, a resource id, a droplet’s number).
kind: StringWhat it is (ec2 instance, Microsoft.Compute/virtualMachines, droplet).
expires_at: Option<u64>When its environment ends, in seconds since the Unix epoch, when it says.
instance: Option<String>Its environment’s name (isoloom-solo-web-ab12cd34), when it says.
Trait Implementations§
impl Eq for Tagged
impl StructuralPartialEq for Tagged
Auto Trait Implementations§
impl Freeze for Tagged
impl RefUnwindSafe for Tagged
impl Send for Tagged
impl Sync for Tagged
impl Unpin for Tagged
impl UnsafeUnpin for Tagged
impl UnwindSafe for Tagged
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.