pub struct NewLink {
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 origin: Origin,
}Expand description
The fields a caller supplies; the rest are bookkeeping.
Fields§
§provider: String§entity: String§local_id: i64§remote_id: String§remote_key: String§remote_updated_at: Option<DateTime<Utc>>§base_hash: Option<String>§origin: OriginOnly honored when the row is first inserted; an upsert over an existing pairing keeps the recorded origin.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewLink
impl RefUnwindSafe for NewLink
impl Send for NewLink
impl Sync for NewLink
impl Unpin for NewLink
impl UnsafeUnpin for NewLink
impl UnwindSafe for NewLink
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