pub struct RemoteLink {
pub id: i64,
pub provider: String,
pub entity: String,
pub local_id: i64,
pub remote_id: String,
pub remote_key: String,
pub remote_updated_at: Option<DateTime<Utc>>,
pub base_hash: Option<String>,
pub last_synced_at: DateTime<Utc>,
}Expand description
One local↔remote pairing.
Fields§
§id: i64§provider: String§entity: String§local_id: i64§remote_id: StringThe remote’s stable identifier — for Linear, a UUID. This is what we
address on write; remote_key is for humans and can change when an
issue moves team.
remote_key: StringThe remote’s human key, e.g. ENG-412.
remote_updated_at: Option<DateTime<Utc>>The remote’s updatedAt as of the last successful sync. The stale-write
guard compares against this.
base_hash: Option<String>Hash of the remote-owned fields as of the last sync, so a refresh can tell “you edited a field Linear owns” from “nothing changed locally”.
last_synced_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for RemoteLink
impl Clone for RemoteLink
Source§fn clone(&self) -> RemoteLink
fn clone(&self) -> RemoteLink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RemoteLink
impl RefUnwindSafe for RemoteLink
impl Send for RemoteLink
impl Sync for RemoteLink
impl Unpin for RemoteLink
impl UnsafeUnpin for RemoteLink
impl UnwindSafe for RemoteLink
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