pub struct JoinAccept {
pub accepted: bool,
pub capabilities_confirmed: Vec<String>,
}Expand description
A worker’s acceptance of a join offer.
Fields§
§accepted: boolAlways true for an acceptance.
capabilities_confirmed: Vec<String>The capabilities the worker confirms it can provide.
Trait Implementations§
Source§impl Clone for JoinAccept
impl Clone for JoinAccept
Source§fn clone(&self) -> JoinAccept
fn clone(&self) -> JoinAccept
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 JoinAccept
impl Debug for JoinAccept
Source§impl<'de> Deserialize<'de> for JoinAccept
impl<'de> Deserialize<'de> for JoinAccept
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 JoinAccept
impl RoutedBody for JoinAccept
Auto Trait Implementations§
impl Freeze for JoinAccept
impl RefUnwindSafe for JoinAccept
impl Send for JoinAccept
impl Sync for JoinAccept
impl Unpin for JoinAccept
impl UnsafeUnpin for JoinAccept
impl UnwindSafe for JoinAccept
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