pub struct SyncResponse {
pub project_key: String,
pub files: Vec<File>,
}Expand description
Body returned by GET /sync: every file held for one project,
tombstones included.
Fields§
§project_key: StringEchoed back from the query string.
files: Vec<File>Every file the server holds for the project.
Trait Implementations§
Source§impl Clone for SyncResponse
impl Clone for SyncResponse
Source§impl Debug for SyncResponse
impl Debug for SyncResponse
Source§impl Default for SyncResponse
impl Default for SyncResponse
Source§impl<'de> Deserialize<'de> for SyncResponse
impl<'de> Deserialize<'de> for SyncResponse
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
Source§impl PartialEq for SyncResponse
impl PartialEq for SyncResponse
Source§impl Serialize for SyncResponse
impl Serialize for SyncResponse
impl StructuralPartialEq for SyncResponse
Auto Trait Implementations§
impl Freeze for SyncResponse
impl RefUnwindSafe for SyncResponse
impl Send for SyncResponse
impl Sync for SyncResponse
impl Unpin for SyncResponse
impl UnsafeUnpin for SyncResponse
impl UnwindSafe for SyncResponse
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