pub struct ChangeItem {
pub revision_id: Uuid,
pub item_id: Uuid,
pub item_number: String,
pub code: String,
pub name: String,
pub state: String,
pub checked_out_by_name: Option<String>,
pub action: String,
pub successor_number: Option<String>,
pub successor_project_id: Option<Uuid>,
pub project_id: Option<Uuid>,
pub restricted: bool,
}Expand description
A line of a change order: a revision released through it, or a released revision that is obsoleted or superseded by it.
Fields§
§revision_id: Uuid§item_id: Uuid§item_number: String§code: String§name: String§state: String§checked_out_by_name: Option<String>§action: Stringrelease (an in-work revision to release), obsolete or supersede (an action on a
released revision, applied when the change is released).
successor_number: Option<String>For supersede: the number of the successor item.
successor_project_id: Option<Uuid>Group of the successor (for the read check; never sent).
project_id: Option<Uuid>Project group of the item (for the read check; never sent).
restricted: boolPlaceholder for an item the reader may not see: identity removed.
Implementations§
Source§impl ChangeItem
impl ChangeItem
Trait Implementations§
Source§impl Clone for ChangeItem
impl Clone for ChangeItem
Source§impl Debug for ChangeItem
impl Debug for ChangeItem
Source§impl<'a, R: Row> FromRow<'a, R> for ChangeItemwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<Uuid>: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for ChangeItemwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<Uuid>: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for ChangeItem
impl RefUnwindSafe for ChangeItem
impl Send for ChangeItem
impl Sync for ChangeItem
impl Unpin for ChangeItem
impl UnsafeUnpin for ChangeItem
impl UnwindSafe for ChangeItem
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.