pub struct SimulationBasis {Show 24 fields
pub id: Uuid,
pub revision_id: Uuid,
pub role: String,
pub note: String,
pub basis_item_id: Uuid,
pub basis_number: String,
pub basis_type: String,
pub basis_revision_id: Uuid,
pub basis_code: String,
pub basis_seq: i32,
pub basis_state: String,
pub basis_name: String,
pub file_version_id: Option<Uuid>,
pub file_id: Option<Uuid>,
pub file_name: String,
pub file_version: Option<i32>,
pub file_current_version: Option<i32>,
pub released_revision_id: Option<Uuid>,
pub released_code: Option<String>,
pub released_seq: Option<i32>,
pub created_at: DateTime<Utc>,
pub out_of_date: Option<String>,
pub basis_project_id: Option<Uuid>,
pub restricted: bool,
}Expand description
A revision (and file version) a simulation revision is based on.
Fields§
§id: Uuid§revision_id: UuidThe simulation revision.
role: String§note: String§basis_item_id: Uuid§basis_number: String§basis_type: String§basis_revision_id: Uuid§basis_code: String§basis_seq: i32§basis_state: String§basis_name: String§file_version_id: Option<Uuid>The simulated file version, if one was chosen.
file_id: Option<Uuid>§file_name: String§file_version: Option<i32>§file_current_version: Option<i32>The current version of that file now.
released_revision_id: Option<Uuid>Newest released revision of the basis item.
released_code: Option<String>§released_seq: Option<i32>§created_at: DateTime<Utc>§out_of_date: Option<String>Why the simulation no longer matches this basis (None = up to date).
basis_project_id: Option<Uuid>Project group of the basis item (for the read check; never sent).
restricted: boolPlaceholder for a basis the reader may not see: the role stays; the identity, the note and whether it is out of date are removed.
Trait Implementations§
Source§impl Clone for SimulationBasis
impl Clone for SimulationBasis
Source§impl Debug for SimulationBasis
impl Debug for SimulationBasis
Source§impl<'a, R: Row> FromRow<'a, R> for SimulationBasiswhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
Option<Uuid>: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: 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 SimulationBasiswhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
Option<Uuid>: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: 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 SimulationBasis
impl RefUnwindSafe for SimulationBasis
impl Send for SimulationBasis
impl Sync for SimulationBasis
impl Unpin for SimulationBasis
impl UnsafeUnpin for SimulationBasis
impl UnwindSafe for SimulationBasis
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.