pub struct DataExport {
pub id: Uuid,
pub requested_by: PartialUser,
pub requested_on: String,
pub content_type: ContentType,
pub query_params: HashMap<String, Value>,
pub file_url: String,
pub completed: bool,
}Expand description
DataExport : Mixin to validate that a valid enterprise license exists before allowing to save the object
Fields§
§id: Uuid§requested_by: PartialUser§requested_on: String§content_type: ContentType§query_params: HashMap<String, Value>§file_url: String§completed: boolImplementations§
Source§impl DataExport
impl DataExport
Sourcepub fn new(
id: Uuid,
requested_by: PartialUser,
requested_on: String,
content_type: ContentType,
query_params: HashMap<String, Value>,
file_url: String,
completed: bool,
) -> DataExport
pub fn new( id: Uuid, requested_by: PartialUser, requested_on: String, content_type: ContentType, query_params: HashMap<String, Value>, file_url: String, completed: bool, ) -> DataExport
Mixin to validate that a valid enterprise license exists before allowing to save the object
Trait Implementations§
Source§impl Clone for DataExport
impl Clone for DataExport
Source§fn clone(&self) -> DataExport
fn clone(&self) -> DataExport
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 DataExport
impl Debug for DataExport
Source§impl Default for DataExport
impl Default for DataExport
Source§fn default() -> DataExport
fn default() -> DataExport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataExport
impl<'de> Deserialize<'de> for DataExport
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 DataExport
impl PartialEq for DataExport
Source§impl Serialize for DataExport
impl Serialize for DataExport
impl StructuralPartialEq for DataExport
Auto Trait Implementations§
impl Freeze for DataExport
impl RefUnwindSafe for DataExport
impl Send for DataExport
impl Sync for DataExport
impl Unpin for DataExport
impl UnsafeUnpin for DataExport
impl UnwindSafe for DataExport
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