pub struct ProductOSContentTemplate {
pub identifier: Uuid,
pub content_type: String,
pub layout: Value,
pub default_content_elements: Map<String, Value>,
pub format: ProductOSContentFormat,
}
Fields§
§identifier: Uuid
§content_type: String
§layout: Value
§default_content_elements: Map<String, Value>
§format: ProductOSContentFormat
Trait Implementations§
source§impl Debug for ProductOSContentTemplate
impl Debug for ProductOSContentTemplate
source§impl Default for ProductOSContentTemplate
impl Default for ProductOSContentTemplate
source§fn default() -> ProductOSContentTemplate
fn default() -> ProductOSContentTemplate
Returns the “default value” for a type. Read more
source§impl ProductOSRelationalObject for ProductOSContentTemplate
impl ProductOSRelationalObject for ProductOSContentTemplate
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 ProductOSContentTemplate
impl Send for ProductOSContentTemplate
impl Sync for ProductOSContentTemplate
impl Unpin for ProductOSContentTemplate
impl UnwindSafe for ProductOSContentTemplate
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