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<'de> Deserialize<'de> for UpdateRedfishEndpointParams
impl<'de> Deserialize<'de> for UpdateRedfishEndpointParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateRedfishEndpointParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateRedfishEndpointParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateRedfishEndpointParams
impl Serialize for UpdateRedfishEndpointParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.