pub struct Dependency {Show 18 fields
pub revision_id: Uuid,
pub revision_label: String,
pub relation: String,
pub item_id: Uuid,
pub item_number: String,
pub item_name: String,
pub latest_revision_id: Uuid,
pub latest_code: String,
pub latest_state: String,
pub other_change: Option<String>,
pub problem: Problem,
pub blocking: bool,
pub addable: bool,
pub restricted: bool,
pub revision_restricted: bool,
pub project_id: Option<Uuid>,
pub revision_project_id: Option<Uuid>,
pub other_change_access: Option<ChangeAccess>,
}Expand description
An item a revision of the change order depends on and that is not ready.
Fields§
§revision_id: UuidThe revision of the change order that depends on the item.
revision_label: String§relation: Stringbom, drawing, specification, reference or file.
item_id: Uuid§item_number: String§item_name: String§latest_revision_id: Uuid§latest_code: String§latest_state: String§other_change: Option<String>Number of the other open change order its latest revision is part of.
problem: Problem§blocking: boolThe dependency prevents the submit.
addable: boolIts latest revision can be added to this change order.
restricted: boolPlaceholder for a dependency the reader may not see: it still blocks, but its identity is removed.
revision_restricted: boolThe depending revision is hidden from the reader (never sent).
project_id: Option<Uuid>Project groups of the dependency and of the depending revision (for the read check; never sent).
revision_project_id: Option<Uuid>§other_change_access: Option<ChangeAccess>Who may see the other open change (for the read check; never sent).
Trait Implementations§
Source§impl Clone for Dependency
impl Clone for Dependency
Source§impl Debug for Dependency
impl Debug for Dependency
Auto Trait Implementations§
impl Freeze for Dependency
impl RefUnwindSafe for Dependency
impl Send for Dependency
impl Sync for Dependency
impl Unpin for Dependency
impl UnsafeUnpin for Dependency
impl UnwindSafe for Dependency
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.