pub struct PostParams {
pub fingerprint: String,
pub force: Option<bool>,
pub hostname: String,
pub links: HashMap<u32, String>,
pub nodeid: Option<u64>,
pub password: String,
pub votes: Option<u64>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§fingerprint: String
Certificate SHA 256 fingerprint.
force: Option<bool>
Do not throw error if node already exists.
hostname: String
Hostname (or IP) of an existing cluster member.
links: HashMap<u32, String>
Address and priority information of a single corosync link. (up to 8 links supported; link0..link7)
nodeid: Option<u64>
Node id for this node.
password: String
Superuser (root) password of peer node.
votes: Option<u64>
Number of votes for this node
additional_properties: HashMap<String, Value>
Implementations§
Trait Implementations§
Source§impl Clone for PostParams
impl Clone for PostParams
Source§fn clone(&self) -> PostParams
fn clone(&self) -> PostParams
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 PostParams
impl Debug for PostParams
Source§impl<'de> Deserialize<'de> for PostParams
impl<'de> Deserialize<'de> for PostParams
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 Serialize for PostParams
impl Serialize for PostParams
Auto Trait Implementations§
impl Freeze for PostParams
impl RefUnwindSafe for PostParams
impl Send for PostParams
impl Sync for PostParams
impl Unpin for PostParams
impl UnwindSafe for PostParams
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