pub struct AnnounceParameters {
pub id: Option<String>,
pub interfaces: Option<Vec<String>>,
pub initial: i64,
pub max: i64,
pub rounds: i64,
pub step: i64,
}
Fields§
§id: Option<String>
§interfaces: Option<Vec<String>>
§initial: i64
§max: i64
§rounds: i64
§step: i64
Trait Implementations§
Source§impl Clone for AnnounceParameters
impl Clone for AnnounceParameters
Source§fn clone(&self) -> AnnounceParameters
fn clone(&self) -> AnnounceParameters
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 AnnounceParameters
impl Debug for AnnounceParameters
Source§impl<'de> Deserialize<'de> for AnnounceParameters
impl<'de> Deserialize<'de> for AnnounceParameters
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 From<AnnounceParameters> for announce_self
impl From<AnnounceParameters> for announce_self
Source§fn from(val: AnnounceParameters) -> Self
fn from(val: AnnounceParameters) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnnounceParameters
impl RefUnwindSafe for AnnounceParameters
impl Send for AnnounceParameters
impl Sync for AnnounceParameters
impl Unpin for AnnounceParameters
impl UnwindSafe for AnnounceParameters
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