pub struct VSwitch {
pub id: VSwitchId,
pub name: String,
pub vlan: VlanId,
pub cancelled: bool,
pub servers: Vec<VSwitchServer>,
pub subnets: Vec<IpNet>,
pub cloud_networks: Vec<CloudNetwork>,
}
Expand description
Describes a complete vSwitch configuration.
Fields§
§id: VSwitchId
Unique vSwitch ID.
name: String
Name for this vSwitch.
vlan: VlanId
VLAN ID associated with traffic over this vSwitch.
cancelled: bool
Indicates if the vSwitch has been cancelled.
servers: Vec<VSwitchServer>
List of servers connected to this vSwitch.
subnets: Vec<IpNet>
List of subnets associated with this vSwitch.
cloud_networks: Vec<CloudNetwork>
List of Cloud Networks connected to this vSwitch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VSwitch
impl RefUnwindSafe for VSwitch
impl Send for VSwitch
impl Sync for VSwitch
impl Unpin for VSwitch
impl UnwindSafe for VSwitch
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