pub struct PortConfig {
pub guid: String,
pub index0: bool,
pub membership: PortMembership,
}
Fields§
§guid: String
The GUID of Port.
index0: bool
Default false; store the PKey at index 0 of the PKey table of the GUID.
membership: PortMembership
Default is full: “full” - members with full membership can communicate with all hosts (members) within the network/partition “limited” - members with limited membership cannot communicate with other members with limited membership. However, communication is allowed between every other combination of membership types.
Trait Implementations§
Source§impl Debug for PortConfig
impl Debug for PortConfig
Source§impl<'de> Deserialize<'de> for PortConfig
impl<'de> Deserialize<'de> for PortConfig
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
Source§impl From<&String> for PortConfig
impl From<&String> for PortConfig
Source§impl From<String> for PortConfig
impl From<String> for PortConfig
Auto Trait Implementations§
impl Freeze for PortConfig
impl RefUnwindSafe for PortConfig
impl Send for PortConfig
impl Sync for PortConfig
impl Unpin for PortConfig
impl UnwindSafe for PortConfig
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