pub struct ProviderSyncState {
pub profile_id: MediaProfileId,
pub provider: String,
pub cursor: Option<String>,
pub last_synced_at: Option<DateTime<Utc>>,
pub status: String,
}Expand description
Provider activity cursor and last successful synchronization timestamp.
Fields§
§profile_id: MediaProfileId§provider: String§cursor: Option<String>Provider-specific opaque cursor; serialized by the integration adapter.
last_synced_at: Option<DateTime<Utc>>§status: StringTrait Implementations§
Source§impl Clone for ProviderSyncState
impl Clone for ProviderSyncState
Source§impl Debug for ProviderSyncState
impl Debug for ProviderSyncState
Source§impl<'de> Deserialize<'de> for ProviderSyncState
impl<'de> Deserialize<'de> for ProviderSyncState
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
impl Eq for ProviderSyncState
Source§impl PartialEq for ProviderSyncState
impl PartialEq for ProviderSyncState
Source§impl Serialize for ProviderSyncState
impl Serialize for ProviderSyncState
impl StructuralPartialEq for ProviderSyncState
Auto Trait Implementations§
impl Freeze for ProviderSyncState
impl RefUnwindSafe for ProviderSyncState
impl Send for ProviderSyncState
impl Sync for ProviderSyncState
impl Unpin for ProviderSyncState
impl UnsafeUnpin for ProviderSyncState
impl UnwindSafe for ProviderSyncState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.