MemberResponse

Struct MemberResponse 

Source
pub struct MemberResponse {
Show 23 fields pub aggregated_at: Option<String>, pub background_aggregation_is_disabled: Option<bool>, pub connection_status: Option<String>, pub connection_status_message: Option<String>, pub guid: Option<String>, pub id: Option<String>, pub institution_code: Option<String>, pub institution_guid: Option<String>, pub is_being_aggregated: Option<bool>, pub is_managed_by_user: Option<bool>, pub is_manual: Option<bool>, pub is_oauth: Option<bool>, pub metadata: Option<String>, pub most_recent_job_detail_code: Option<i64>, pub most_recent_job_detail_text: Option<bool>, pub most_recent_job_guid: Option<bool>, pub name: Option<String>, pub needs_updated_credentials: Option<bool>, pub oauth_window_uri: Option<String>, pub successfully_aggregated_at: Option<String>, pub use_cases: Vec<MemberResponseUseCasesItem>, pub user_guid: Option<String>, pub user_id: Option<String>,
}
Expand description

MemberResponse

JSON schema
{
 "type": "object",
 "properties": {
   "aggregated_at": {
     "examples": [
       "2016-10-13T18:07:57.000Z"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "background_aggregation_is_disabled": {
     "examples": [
       false
     ],
     "type": "boolean"
   },
   "connection_status": {
     "examples": [
       "CONNECTED"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "connection_status_message": {
     "examples": [
       "Connected to MX Bank"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "guid": {
     "examples": [
       "MBR-7c6f361b-e582-15b6-60c0-358f12466b4b"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "id": {
     "examples": [
       "unique_id"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "institution_code": {
     "examples": [
       "mxbank"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "institution_guid": {
     "examples": [
       "INST-12345678-90ab-cdef-1234-567890abcdef"
     ],
     "type": "string"
   },
   "is_being_aggregated": {
     "examples": [
       false
     ],
     "type": [
       "boolean",
       "null"
     ]
   },
   "is_managed_by_user": {
     "examples": [
       false
     ],
     "type": [
       "boolean",
       "null"
     ]
   },
   "is_manual": {
     "examples": [
       false
     ],
     "type": [
       "boolean",
       "null"
     ]
   },
   "is_oauth": {
     "examples": [
       false
     ],
     "type": [
       "boolean",
       "null"
     ]
   },
   "metadata": {
     "examples": [
       "\\\"credentials_last_refreshed_at\\\": \\\"2015-10-15\\"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "most_recent_job_detail_code": {
     "type": [
       "integer",
       "null"
     ]
   },
   "most_recent_job_detail_text": {
     "type": [
       "boolean",
       "null"
     ]
   },
   "most_recent_job_guid": {
     "examples": [
       "JOB-12345678-90ab-cdef-1234-567890abcdef"
     ],
     "type": [
       "boolean",
       "null"
     ]
   },
   "name": {
     "examples": [
       "MX Bank"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "needs_updated_credentials": {
     "examples": [
       false
     ],
     "type": [
       "boolean",
       "null"
     ]
   },
   "oauth_window_uri": {
     "examples": [
       "https://mxbank.mx.com/oauth/authorize?client_id=b8OikQ4Ep3NuSUrQ13DdvFuwpNx-qqoAsJDVAQCyLkQ&redirect_uri=https%3A%2F%2Fint-app.moneydesktop.com%2Foauth%2Fredirect_from&response_type=code&scope=openid&state=d745bd4ee6f0f9c184757f574bcc2df2"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "successfully_aggregated_at": {
     "examples": [
       "2016-10-13T17:57:38.000Z"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "use_cases": {
     "description": "The use case associated with the member. Valid
values are `PFM` and/or `MONEY_MOVEMENT`. Only set this if you've met
with MX and have opted in to using this field.",
     "examples": [
       [
         "PFM"
       ]
     ],
     "type": "array",
     "items": {
       "type": "string",
       "enum": [
         "MONEY_MOVEMENT",
         "PFM"
       ]
     }
   },
   "user_guid": {
     "examples": [
       "USR-fa7537f3-48aa-a683-a02a-b18940482f54"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "user_id": {
     "examples": [
       "user123"
     ],
     "type": [
       "string",
       "null"
     ]
   }
 }
}

Fields§

§aggregated_at: Option<String>§background_aggregation_is_disabled: Option<bool>§connection_status: Option<String>§connection_status_message: Option<String>§guid: Option<String>§id: Option<String>§institution_code: Option<String>§institution_guid: Option<String>§is_being_aggregated: Option<bool>§is_managed_by_user: Option<bool>§is_manual: Option<bool>§is_oauth: Option<bool>§metadata: Option<String>§most_recent_job_detail_code: Option<i64>§most_recent_job_detail_text: Option<bool>§most_recent_job_guid: Option<bool>§name: Option<String>§needs_updated_credentials: Option<bool>§oauth_window_uri: Option<String>§successfully_aggregated_at: Option<String>§use_cases: Vec<MemberResponseUseCasesItem>

The use case associated with the member. Valid values are PFM and/or MONEY_MOVEMENT. Only set this if you’ve met with MX and have opted in to using this field.

§user_guid: Option<String>§user_id: Option<String>

Trait Implementations§

Source§

impl Clone for MemberResponse

Source§

fn clone(&self) -> MemberResponse

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MemberResponse

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MemberResponse

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for MemberResponse

Source§

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 From<&MemberResponse> for MemberResponse

Source§

fn from(value: &MemberResponse) -> Self

Converts to this type from the input type.
Source§

impl Serialize for MemberResponse

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,