pub struct SetPeerIdBody {
pub peer_id: u16,
}
Fields§
§peer_id: u16
Implementations§
Source§impl SetPeerIdBody
impl SetPeerIdBody
Trait Implementations§
Source§impl Clone for SetPeerIdBody
impl Clone for SetPeerIdBody
Source§fn clone(&self) -> SetPeerIdBody
fn clone(&self) -> SetPeerIdBody
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SetPeerIdBody
impl Debug for SetPeerIdBody
Source§impl Deserialize for SetPeerIdBody
impl Deserialize for SetPeerIdBody
Source§type Output = SetPeerIdBody
type Output = SetPeerIdBody
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl PartialEq for SetPeerIdBody
impl PartialEq for SetPeerIdBody
Source§impl Serialize for SetPeerIdBody
impl Serialize for SetPeerIdBody
type Input = SetPeerIdBody
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for SetPeerIdBody
Auto Trait Implementations§
impl Freeze for SetPeerIdBody
impl RefUnwindSafe for SetPeerIdBody
impl Send for SetPeerIdBody
impl Sync for SetPeerIdBody
impl Unpin for SetPeerIdBody
impl UnwindSafe for SetPeerIdBody
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