pub struct FileStatus {
pub filename: String,
pub file_id: Option<Uuid>,
pub version: Option<i32>,
pub sha256: Option<String>,
pub size_bytes: Option<i64>,
pub folder: Option<String>,
pub uploaded_by_name: Option<String>,
pub uploaded_at: Option<DateTime<Utc>>,
pub local_sha256: Option<String>,
pub local_version: Option<i32>,
pub state: Option<FileSyncState>,
}Expand description
One file of a revision with its server state and – if the client reported its workspace – the sync state of the local copy.
Fields§
§filename: String§file_id: Option<Uuid>None for files that exist only in the client’s workspace.
version: Option<i32>§sha256: Option<String>§size_bytes: Option<i64>§folder: Option<String>Folder inside the project group (None for files only in the workspace).
uploaded_by_name: Option<String>§uploaded_at: Option<DateTime<Utc>>§local_sha256: Option<String>The local file as the client reported it.
local_version: Option<i32>The server version the local content equals, if any.
state: Option<FileSyncState>up_to_date, modified, outdated, conflict, new, missing;
None when the client reported no files.
Trait Implementations§
Source§impl Clone for FileStatus
impl Clone for FileStatus
Source§impl Debug for FileStatus
impl Debug for FileStatus
Auto Trait Implementations§
impl Freeze for FileStatus
impl RefUnwindSafe for FileStatus
impl Send for FileStatus
impl Sync for FileStatus
impl Unpin for FileStatus
impl UnsafeUnpin for FileStatus
impl UnwindSafe for FileStatus
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> Parallelizable for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.