pub struct JoinReject {
pub accepted: bool,
pub reason: String,
}Expand description
A worker’s rejection of a join offer.
Fields§
§accepted: boolAlways false for a rejection.
reason: StringReason for rejecting the offer.
Trait Implementations§
Source§impl Clone for JoinReject
impl Clone for JoinReject
Source§fn clone(&self) -> JoinReject
fn clone(&self) -> JoinReject
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 JoinReject
impl Debug for JoinReject
Source§impl<'de> Deserialize<'de> for JoinReject
impl<'de> Deserialize<'de> for JoinReject
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 RoutedBody for JoinReject
impl RoutedBody for JoinReject
Auto Trait Implementations§
impl Freeze for JoinReject
impl RefUnwindSafe for JoinReject
impl Send for JoinReject
impl Sync for JoinReject
impl Unpin for JoinReject
impl UnsafeUnpin for JoinReject
impl UnwindSafe for JoinReject
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