pub struct RegisterResult {
pub device_id: GrainId,
pub node_id: String,
pub workgroup_id: GrainId,
}Expand description
Result of REGISTER.
Fields§
§device_id: GrainIdThis host’s device id inside the workgroup, used as Entry.author.
node_id: StringThis host’s iroh node id.
workgroup_id: GrainIdThe workgroup these workspaces belong to.
Trait Implementations§
Source§impl Clone for RegisterResult
impl Clone for RegisterResult
Source§impl Debug for RegisterResult
impl Debug for RegisterResult
Source§impl<'de> Deserialize<'de> for RegisterResult
impl<'de> Deserialize<'de> for RegisterResult
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
Auto Trait Implementations§
impl Freeze for RegisterResult
impl RefUnwindSafe for RegisterResult
impl Send for RegisterResult
impl Sync for RegisterResult
impl Unpin for RegisterResult
impl UnsafeUnpin for RegisterResult
impl UnwindSafe for RegisterResult
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