pub struct Activity {
pub activity: String,
pub id: String,
pub initiated_date: NaiveDate,
pub initiator: String,
pub scopes: Option<Scopes>,
pub state: String,
pub target_application_id: Option<String>,
}
Expand description
Describes a consent activity.
Fields§
§activity: String
Types of consent activities
id: String
A unique identifier for the activity
initiated_date: NaiveDate
The date this activity was initiated ISO 8601 (YYYY-MM-DD) format in UTC.
initiator: String
Application ID of the client who initiated the activity.
scopes: Option<Scopes>
The scopes object
state: String
Enum representing the state of the action/activity.
target_application_id: Option<String>
This field will map to the application ID that is returned from /item/application/list, or provided to the institution in an oauth redirect.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Activity
impl<'de> Deserialize<'de> for Activity
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
Auto Trait Implementations§
impl RefUnwindSafe for Activity
impl Send for Activity
impl Sync for Activity
impl Unpin for Activity
impl UnwindSafe for Activity
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