pub struct RemoteMetadata {
pub version: u8,
pub project_id: String,
pub remote: String,
pub server_key_id: String,
pub server_fingerprint: String,
pub local_revision: Option<i64>,
pub last_pulled_at: Option<String>,
pub last_pushed_at: Option<String>,
pub last_manifest_hash: Option<String>,
pub pending_token_ids: Option<Vec<String>>,
pub pending_accepted_member_ids: Option<Vec<String>>,
}Fields§
§version: u8§project_id: String§remote: String§server_key_id: String§server_fingerprint: String§local_revision: Option<i64>§last_pulled_at: Option<String>§last_pushed_at: Option<String>§last_manifest_hash: Option<String>§pending_token_ids: Option<Vec<String>>§pending_accepted_member_ids: Option<Vec<String>>Trait Implementations§
Source§impl Clone for RemoteMetadata
impl Clone for RemoteMetadata
Source§fn clone(&self) -> RemoteMetadata
fn clone(&self) -> RemoteMetadata
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 moreSource§impl Debug for RemoteMetadata
impl Debug for RemoteMetadata
Source§impl<'de> Deserialize<'de> for RemoteMetadata
impl<'de> Deserialize<'de> for RemoteMetadata
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 RemoteMetadata
impl RefUnwindSafe for RemoteMetadata
impl Send for RemoteMetadata
impl Sync for RemoteMetadata
impl Unpin for RemoteMetadata
impl UnsafeUnpin for RemoteMetadata
impl UnwindSafe for RemoteMetadata
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