pub struct Paired {
pub replica: EntityId,
pub device: String,
pub app: String,
pub ai_agent: bool,
pub asked_for: AskedFor,
pub synced: Synced,
}Expand description
A replica that pairing added.
Fields§
§replica: EntityIdThe new replica.
device: StringThe name of its device.
app: StringThe name of its app, or of the AI agent whose replica it is.
ai_agent: boolWhether it is an AI agent’s replica.
asked_for: AskedForWhat it asked for besides the library: the secrets, and whether it was given them.
synced: SyncedIts first sync, which it starts right after pairing.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Paired
impl Freeze for Paired
impl Move for Paired
impl RefUnwindSafe for Paired
impl Send for Paired
impl Sync for Paired
impl Unpin for Paired
impl UnsafeUnpin for Paired
impl UnwindSafe for Paired
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