pub struct Impact {Show 26 fields
pub id: Uuid,
pub item_id: Uuid,
pub item_number: String,
pub project_id: Option<Uuid>,
pub project_code: Option<String>,
pub revision_id: Uuid,
pub revision_code: String,
pub revision_state: String,
pub item_name: String,
pub source_item_id: Uuid,
pub source_number: String,
pub source_revision_id: Uuid,
pub source_code: String,
pub source_name: String,
pub event: String,
pub relation: String,
pub detail: String,
pub change_id: Option<Uuid>,
pub change_number: Option<String>,
pub created_at: DateTime<Utc>,
pub resolved_at: Option<DateTime<Utc>>,
pub resolution: Option<String>,
pub resolved_by_name: Option<String>,
pub note: String,
pub source_project_id: Option<Uuid>,
pub source_restricted: bool,
}Expand description
A dependent item that has to be checked because an item it uses or references was released in a new revision or made obsolete.
Fields§
§id: Uuid§item_id: UuidThe dependent.
item_number: String§project_id: Option<Uuid>§project_code: Option<String>§revision_id: Uuid§revision_code: String§revision_state: String§item_name: String§source_item_id: UuidWhat changed.
source_number: String§source_revision_id: Uuid§source_code: String§source_name: String§event: Stringreleased or obsolete.
relation: Stringbom, drawing, specification, reference or file.
detail: String§change_id: Option<Uuid>§change_number: Option<String>§created_at: DateTime<Utc>§resolved_at: Option<DateTime<Utc>>§resolution: Option<String>acknowledged, superseded or obsolete.
resolved_by_name: Option<String>§note: String§source_project_id: Option<Uuid>Project group of the source item (for the read check; never sent).
source_restricted: boolThe source is an item the reader may not see: its identity and the releasing change are removed (“a restricted item this depends on was released”).
Implementations§
Trait Implementations§
Source§impl<'a, R: Row> FromRow<'a, R> for Impactwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<Uuid>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
Option<DateTime<Utc>>: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for Impactwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
Option<Uuid>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
Option<DateTime<Utc>>: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for Impact
impl RefUnwindSafe for Impact
impl Send for Impact
impl Sync for Impact
impl Unpin for Impact
impl UnsafeUnpin for Impact
impl UnwindSafe for Impact
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.