pub struct RevisionStatus {
pub revision_id: Uuid,
pub item_number: String,
pub code: String,
pub state: String,
pub locked_by: Option<Uuid>,
pub locked_by_name: Option<String>,
pub locked_at: Option<DateTime<Utc>>,
pub locked_by_me: bool,
pub locked_by_other: bool,
pub released: Option<ReleasedCheckout>,
pub files: Vec<FileStatus>,
}Expand description
The files of a revision and who holds its lock.
Fields§
§revision_id: Uuid§item_number: String§code: String§state: String§locked_by: Option<Uuid>§locked_by_name: Option<String>§locked_at: Option<DateTime<Utc>>§locked_by_me: bool§locked_by_other: booltrue if somebody else holds the lock: local changes cannot be
checked in right now.
released: Option<ReleasedCheckout>Somebody else released the actor’s check-out of this revision and
nobody has checked it out since (issue #173, step 10): the desktop
app tells the former holder that their local changes stay but need
a new check-out. None otherwise.
files: Vec<FileStatus>Trait Implementations§
Source§impl Clone for RevisionStatus
impl Clone for RevisionStatus
Source§impl Debug for RevisionStatus
impl Debug for RevisionStatus
Auto Trait Implementations§
impl Freeze for RevisionStatus
impl RefUnwindSafe for RevisionStatus
impl Send for RevisionStatus
impl Sync for RevisionStatus
impl Unpin for RevisionStatus
impl UnsafeUnpin for RevisionStatus
impl UnwindSafe for RevisionStatus
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.