pub struct ServerWeight {
pub weight: u32,
pub current_weight: i32,
}Fields§
§weight: u32§current_weight: i32Trait Implementations§
Source§impl Clone for ServerWeight
impl Clone for ServerWeight
Source§fn clone(&self) -> ServerWeight
fn clone(&self) -> ServerWeight
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 ServerWeight
impl Debug for ServerWeight
Auto Trait Implementations§
impl Freeze for ServerWeight
impl RefUnwindSafe for ServerWeight
impl Send for ServerWeight
impl Sync for ServerWeight
impl Unpin for ServerWeight
impl UnsafeUnpin for ServerWeight
impl UnwindSafe for ServerWeight
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