pub struct ItemReference {Show 16 fields
pub id: Uuid,
pub from_revision_id: Uuid,
pub to_item_id: Uuid,
pub to_number: String,
pub to_type: String,
pub kind: String,
pub note: String,
pub to_latest_revision_id: Uuid,
pub to_latest_code: String,
pub to_latest_state: String,
pub to_name: String,
pub released_to_revision_id: Option<Uuid>,
pub released_to_code: Option<String>,
pub created_at: DateTime<Utc>,
pub to_project_id: Option<Uuid>,
pub restricted: bool,
}Expand description
A reference of a revision to another item besides the BOM (drawing of, specification for, references).
Fields§
§id: Uuid§from_revision_id: Uuid§to_item_id: Uuid§to_number: String§to_type: String§kind: String§note: String§to_latest_revision_id: Uuid§to_latest_code: String§to_latest_state: String§to_name: String§released_to_revision_id: Option<Uuid>Revision of the target when the referencing revision was released.
released_to_code: Option<String>§created_at: DateTime<Utc>§to_project_id: Option<Uuid>Project group of the target (for the read check; never sent).
restricted: boolPlaceholder for a target the reader may not see.
Implementations§
Source§impl ItemReference
impl ItemReference
Trait Implementations§
Source§impl Clone for ItemReference
impl Clone for ItemReference
Source§impl Debug for ItemReference
impl Debug for ItemReference
Source§impl<'a, R: Row> FromRow<'a, R> for ItemReferencewhere
&'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>,
bool: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for ItemReferencewhere
&'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>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for ItemReference
impl RefUnwindSafe for ItemReference
impl Send for ItemReference
impl Sync for ItemReference
impl Unpin for ItemReference
impl UnsafeUnpin for ItemReference
impl UnwindSafe for ItemReference
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.