pub struct Interface {
pub id: String,
pub crn: String,
pub subnet: ResourceRef,
pub name: String,
pub description: Option<String>,
pub mac: String,
pub attached_to: InterfaceAttachedTo,
pub tags: BTreeMap<String, String>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§crn: String§subnet: ResourceRefSubnet containing this interface.
name: StringResource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).
description: Option<String>§mac: String§attached_to: InterfaceAttachedToInstance holding this interface, including a stopped instance. Null when unbound. Floating IP attachments are tracked separately.
created_at: String§updated_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Interface
impl<'de> Deserialize<'de> for Interface
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Interface
impl RefUnwindSafe for Interface
impl Send for Interface
impl Sync for Interface
impl Unpin for Interface
impl UnsafeUnpin for Interface
impl UnwindSafe for Interface
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