pub struct RenderRow {Show 20 fields
pub render_id: Uuid,
pub owner_user_id: Option<Vec<u8>>,
pub owner_group_id: Option<Vec<u8>>,
pub created_by: Option<Uuid>,
pub notecard_id: Option<Uuid>,
pub kind: String,
pub status: String,
pub error_message: Option<String>,
pub settings_json: String,
pub metadata_json: Option<String>,
pub content_type: Option<String>,
pub image_filename: Option<String>,
pub image_without_route_filename: Option<String>,
pub created_at: DateTime<Utc>,
pub finished_at: Option<DateTime<Utc>>,
pub lower_left_x: Option<u16>,
pub lower_left_y: Option<u16>,
pub upper_right_x: Option<u16>,
pub upper_right_y: Option<u16>,
pub glw_data_id: Option<Uuid>,
}Expand description
Raw row fields for a saved render as fetched from the DB.
Fields§
§render_id: Uuidthe render id.
owner_user_id: Option<Vec<u8>>raw bytes of the personal owner column, if any.
owner_group_id: Option<Vec<u8>>raw bytes of the group owner column, if any.
created_by: Option<Uuid>the avatar that created the render, or None if the creator
has since deleted their account (FK is ON DELETE SET NULL).
notecard_id: Option<Uuid>the linked notecard id, if any.
kind: Stringthe render kind: grid_rectangle or usb_notecard.
status: Stringthe current status.
error_message: Option<String>the error message if status == “failed”.
settings_json: Stringthe settings JSON used to launch the render.
metadata_json: Option<String>the metadata JSON produced by the render (if done).
content_type: Option<String>the content type of the stored image.
image_filename: Option<String>the filename of the primary image file under <storage_dir>/renders/.
image_without_route_filename: Option<String>the filename of the without-route variant, if any.
created_at: DateTime<Utc>when the row was created.
finished_at: Option<DateTime<Utc>>when the row reached a terminal state.
lower_left_x: Option<u16>lower-left x grid coordinate of the rendered rectangle, if known.
lower_left_y: Option<u16>lower-left y grid coordinate of the rendered rectangle, if known.
upper_right_x: Option<u16>upper-right x grid coordinate of the rendered rectangle, if known.
upper_right_y: Option<u16>upper-right y grid coordinate of the rendered rectangle, if known.
glw_data_id: Option<Uuid>the linked saved_glw_data row id, if any.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderRow
impl RefUnwindSafe for RenderRow
impl Send for RenderRow
impl Sync for RenderRow
impl Unpin for RenderRow
impl UnsafeUnpin for RenderRow
impl UnwindSafe for RenderRow
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
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.