pub struct ConsentStage {
pub pk: Uuid,
pub name: String,
pub component: String,
pub verbose_name: String,
pub verbose_name_plural: String,
pub meta_model_name: String,
pub flow_set: Option<Vec<FlowSet>>,
pub mode: Option<ConsentStageModeEnum>,
pub consent_expire_in: Option<String>,
}
Expand description
ConsentStage : ConsentStage Serializer
Fields§
§pk: Uuid
§name: String
§component: String
Get object type so that we know how to edit the object
verbose_name: String
Return object’s verbose_name
verbose_name_plural: String
Return object’s plural verbose_name
meta_model_name: String
Return internal model name
flow_set: Option<Vec<FlowSet>>
§mode: Option<ConsentStageModeEnum>
§consent_expire_in: Option<String>
Offset after which consent expires. (Format: hours=1;minutes=2;seconds=3).
Implementations§
Trait Implementations§
Source§impl Clone for ConsentStage
impl Clone for ConsentStage
Source§fn clone(&self) -> ConsentStage
fn clone(&self) -> ConsentStage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConsentStage
impl Debug for ConsentStage
Source§impl Default for ConsentStage
impl Default for ConsentStage
Source§fn default() -> ConsentStage
fn default() -> ConsentStage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsentStage
impl<'de> Deserialize<'de> for ConsentStage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConsentStage
impl PartialEq for ConsentStage
Source§impl Serialize for ConsentStage
impl Serialize for ConsentStage
impl StructuralPartialEq for ConsentStage
Auto Trait Implementations§
impl Freeze for ConsentStage
impl RefUnwindSafe for ConsentStage
impl Send for ConsentStage
impl Sync for ConsentStage
impl Unpin for ConsentStage
impl UnwindSafe for ConsentStage
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