pub struct ProductOSContentAsset {Show 17 fields
pub identifier: Uuid,
pub site: Uuid,
pub state: ProductOSContentWorkflowState,
pub reference: String,
pub template: Option<Uuid>,
pub data: Option<Vec<u8>>,
pub content_elements: Map<String, Value>,
pub content_element_template_overrides: HashMap<String, ProductOSContentOverrideType>,
pub format: ProductOSContentFormat,
pub path: String,
pub content_kind: Option<ProductOSContentAssetType>,
pub content_type: Option<String>,
pub markup: Option<ProductOSContentMarkup>,
pub auth_app_id: Option<String>,
pub scopes: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}
Fields§
§identifier: Uuid
§site: Uuid
§state: ProductOSContentWorkflowState
§reference: String
§template: Option<Uuid>
§data: Option<Vec<u8>>
§content_elements: Map<String, Value>
§content_element_template_overrides: HashMap<String, ProductOSContentOverrideType>
§format: ProductOSContentFormat
§path: String
§content_kind: Option<ProductOSContentAssetType>
§content_type: Option<String>
§markup: Option<ProductOSContentMarkup>
§auth_app_id: Option<String>
§scopes: Option<String>
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
Trait Implementations§
source§impl Debug for ProductOSContentAsset
impl Debug for ProductOSContentAsset
source§impl Default for ProductOSContentAsset
impl Default for ProductOSContentAsset
source§impl ProductOSRelationalObject for ProductOSContentAsset
impl ProductOSRelationalObject for ProductOSContentAsset
fn relational_from_postgres_row(&mut self, row: PgRow)
fn relational_create( &self, target: Option<Target>, actions: Option<Vec<Action>>, sharding: Option<Sharding> ) -> Instruction
fn relational_alter( &self, action: Option<Action>, sharding: Option<Sharding> ) -> Instruction
fn relational_drop(&self, action: Option<Action>) -> Instruction
fn relational_query_basic( fields: Fields, conditions: Option<Expression> ) -> Query
fn relational_query( fields: Fields, conditions: Option<Expression>, group_by: Option<Vec<String>>, sort_by: Option<Vec<(String, SortOrder)>>, fetch: Option<Fetch> ) -> Query
fn relational_query_advanced( fields: Fields, join: Option<Join>, conditions: Option<Expression>, group_by: Option<Vec<String>>, sort_by: Option<Vec<(String, SortOrder)>>, fetch: Option<Fetch> ) -> Query
fn relational_query_all() -> Query
fn relational_insert(&self) -> Instruction
fn relational_update( &self, conditions: Expression, join: Option<Table> ) -> Instruction
fn relational_update_custom( fields: Fields, field_values: Vec<Value>, conditions: Expression, join: Option<Table> ) -> Instruction
fn relational_delete(conditions: Expression, join: Option<Table>) -> Instruction
fn relational_upsert(&self, target: Target, action: Action) -> Instruction
fn relational_test(&self)
Auto Trait Implementations§
impl RefUnwindSafe for ProductOSContentAsset
impl Send for ProductOSContentAsset
impl Sync for ProductOSContentAsset
impl Unpin for ProductOSContentAsset
impl UnwindSafe for ProductOSContentAsset
Blanket Implementations§
§impl<T> Any for Twhere
T: Any,
impl<T> Any for Twhere T: Any,
fn get_type_id(&self) -> TypeId
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