pub struct ActionResponse {
pub action: Option<Box<UserActionLog>>,
pub actions: Option<Vec<UserActionLog>>,
}
Expand description
ActionResponse : The user action response object.
Fields§
§action: Option<Box<UserActionLog>>
§actions: Option<Vec<UserActionLog>>
Implementations§
source§impl ActionResponse
impl ActionResponse
sourcepub fn new() -> ActionResponse
pub fn new() -> ActionResponse
The user action response object.
Trait Implementations§
source§impl Clone for ActionResponse
impl Clone for ActionResponse
source§fn clone(&self) -> ActionResponse
fn clone(&self) -> ActionResponse
Returns a copy 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 ActionResponse
impl Debug for ActionResponse
source§impl Default for ActionResponse
impl Default for ActionResponse
source§fn default() -> ActionResponse
fn default() -> ActionResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActionResponse
impl<'de> Deserialize<'de> for ActionResponse
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 ActionResponse
impl PartialEq for ActionResponse
source§fn eq(&self, other: &ActionResponse) -> bool
fn eq(&self, other: &ActionResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ActionResponse
impl Serialize for ActionResponse
impl StructuralPartialEq for ActionResponse
Auto Trait Implementations§
impl RefUnwindSafe for ActionResponse
impl Send for ActionResponse
impl Sync for ActionResponse
impl Unpin for ActionResponse
impl UnwindSafe for ActionResponse
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