Enum redfish_codegen::models::endpoint::v1_8_0::EntityRole
source · pub enum EntityRole {
Initiator,
Target,
Both,
}
Variants§
Initiator
The entity sends commands, messages, or other types of requests to other entities on the fabric, but cannot receive commands from other entities.
Target
The entity receives commands, messages, or other types of requests from other entities on the fabric, but cannot send commands to other entities.
Both
The entity can both send and receive commands, messages, and other requests to or from other entities on the fabric.
Trait Implementations§
source§impl Clone for EntityRole
impl Clone for EntityRole
source§fn clone(&self) -> EntityRole
fn clone(&self) -> EntityRole
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EntityRole
impl Debug for EntityRole
source§impl Default for EntityRole
impl Default for EntityRole
source§fn default() -> EntityRole
fn default() -> EntityRole
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EntityRole
impl<'de> Deserialize<'de> for EntityRole
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