pub struct SerialConsoleProtocol {
pub console_entry_command: Option<String>,
pub hot_key_sequence_display: Option<String>,
pub port: Option<i64>,
pub service_enabled: Option<bool>,
pub shared_with_manager_cli: Option<bool>,
}
Expand description
The information about a serial console service that this system provides.
Fields§
§console_entry_command: Option<String>
The command string passed to the service to select or enter the system’s serial console.
hot_key_sequence_display: Option<String>
The hotkey sequence available for the user to exit the serial console session.
port: Option<i64>
The protocol port.
service_enabled: Option<bool>
An indication of whether the service is enabled for this system.
Indicates whether the serial console service is shared with access to the manager’s command-line interface (CLI).
Trait Implementations§
Source§impl Clone for SerialConsoleProtocol
impl Clone for SerialConsoleProtocol
Source§fn clone(&self) -> SerialConsoleProtocol
fn clone(&self) -> SerialConsoleProtocol
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SerialConsoleProtocol
impl Debug for SerialConsoleProtocol
Source§impl Default for SerialConsoleProtocol
impl Default for SerialConsoleProtocol
Source§impl<'de> Deserialize<'de> for SerialConsoleProtocol
impl<'de> Deserialize<'de> for SerialConsoleProtocol
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 Metadata<'static> for SerialConsoleProtocol
impl Metadata<'static> for SerialConsoleProtocol
Source§const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json"
const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for SerialConsoleProtocol
impl RefUnwindSafe for SerialConsoleProtocol
impl Send for SerialConsoleProtocol
impl Sync for SerialConsoleProtocol
impl Unpin for SerialConsoleProtocol
impl UnwindSafe for SerialConsoleProtocol
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