pub struct ServerProfile {Show 14 fields
pub corosync: bool,
pub corosync2: bool,
pub default: bool,
pub initial_state: String,
pub managed: bool,
pub name: String,
pub ntp: bool,
pub pacemaker: bool,
pub repolist: Vec<String>,
pub resource_uri: String,
pub ui_description: String,
pub ui_name: String,
pub user_selectable: bool,
pub worker: bool,
}
Expand description
A server profile record from api/server_profile/
Fields§
§corosync: bool
§corosync2: bool
§default: bool
§initial_state: String
§managed: bool
§name: String
§ntp: bool
§pacemaker: bool
§repolist: Vec<String>
§resource_uri: String
§ui_description: String
§ui_name: String
§user_selectable: bool
§worker: bool
Trait Implementations§
Source§impl Clone for ServerProfile
impl Clone for ServerProfile
Source§fn clone(&self) -> ServerProfile
fn clone(&self) -> ServerProfile
Returns a duplicate 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 ServerProfile
impl Debug for ServerProfile
Source§impl<'de> Deserialize<'de> for ServerProfile
impl<'de> Deserialize<'de> for ServerProfile
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 EndpointName for ServerProfile
impl EndpointName for ServerProfile
fn endpoint_name() -> &'static str
Source§impl PartialEq for ServerProfile
impl PartialEq for ServerProfile
Source§impl Serialize for ServerProfile
impl Serialize for ServerProfile
impl StructuralPartialEq for ServerProfile
Auto Trait Implementations§
impl Freeze for ServerProfile
impl RefUnwindSafe for ServerProfile
impl Send for ServerProfile
impl Sync for ServerProfile
impl Unpin for ServerProfile
impl UnwindSafe for ServerProfile
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