pub struct UpdateRedfishEndpointParams {Show 14 fields
pub id: String,
pub name: Option<String>,
pub hostname: Option<String>,
pub domain: Option<String>,
pub fqdn: Option<String>,
pub enabled: bool,
pub user: Option<String>,
pub password: Option<String>,
pub use_ssdp: bool,
pub mac_required: bool,
pub mac_addr: Option<String>,
pub ip_address: Option<String>,
pub rediscover_on_update: bool,
pub template_id: Option<String>,
}Expand description
Typed parameters for updating/adding a Redfish endpoint.
Fields§
§id: StringXname identifying the BMC (e.g. x3000c0s1b0).
name: Option<String>Optional human-readable name.
hostname: Option<String>Hostname portion of the BMC FQDN.
domain: Option<String>Domain portion of the BMC FQDN.
fqdn: Option<String>Full FQDN; overrides hostname+domain when set.
enabled: boolWhether the endpoint is enabled for discovery.
user: Option<String>BMC username for Redfish authentication.
password: Option<String>BMC password for Redfish authentication.
use_ssdp: boolUse SSDP for automatic endpoint discovery.
mac_required: boolWhether a MAC address is required for geolocation.
mac_addr: Option<String>BMC MAC address (colon-separated).
ip_address: Option<String>BMC IP address (IPv4 or IPv6).
rediscover_on_update: boolTrigger a rediscovery pass when the endpoint is updated.
template_id: Option<String>ID of a discovery template to apply.
Trait Implementations§
Source§impl ComposeSchema for UpdateRedfishEndpointParams
impl ComposeSchema for UpdateRedfishEndpointParams
Source§impl<'de> Deserialize<'de> for UpdateRedfishEndpointParams
impl<'de> Deserialize<'de> for UpdateRedfishEndpointParams
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 UpdateRedfishEndpointParams
impl RefUnwindSafe for UpdateRedfishEndpointParams
impl Send for UpdateRedfishEndpointParams
impl Sync for UpdateRedfishEndpointParams
impl Unpin for UpdateRedfishEndpointParams
impl UnsafeUnpin for UpdateRedfishEndpointParams
impl UnwindSafe for UpdateRedfishEndpointParams
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