[−][src]Struct mailchimp::AuthorizedApps
Implement Mailchimp Authorized Apps Endpoint
Manage registered, connected apps for your Mailchimp account with the Authorized Apps endpoints.
Methods
impl AuthorizedApps
[src]
pub fn new(api: MailchimpApi) -> Self
[src]
ments: api: MailchimpApi
pub fn get_authorized_apps_from_remote(
&self,
filters: Option<&AuthorizedFilter>
) -> Option<AuthorizedAppsType>
[src]
&self,
filters: Option<&AuthorizedFilter>
) -> Option<AuthorizedAppsType>
Get a list of an account’s registered, connected applications.
Arguments: filters: Filters fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation. count: The number of records to return. offset: The number of records from a collection to skip. Iterating over large collections with this parameter can be slow. Default value is 0.
pub fn link_authorized_apps<'a>(
&self,
client_id: &'a str,
client_secret: &'a str
) -> Result<CreatedAuthorizedAppType, MailchimpErrorType>
[src]
&self,
client_id: &'a str,
client_secret: &'a str
) -> Result<CreatedAuthorizedAppType, MailchimpErrorType>
Retrieve OAuth2-based credentials to associate API calls with your application.
Arguments: client_id: Id o nombre de usuario único para la autorización client_secret: Contraseña del cliente para la autorización
pub fn get_authorized_app_info<'a>(
&self,
app_id: &'a str,
filters: HashMap<String, String>
) -> Result<AuthorizedAppType, MailchimpErrorType>
[src]
&self,
app_id: &'a str,
filters: HashMap<String, String>
) -> Result<AuthorizedAppType, MailchimpErrorType>
Get information about a specific authorized app
Arguments: app_id: identificador de la aplicación autorizada filters: Filtros que requieras aplicar a la hora de obtener las aplicaciones fields: A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation. exclude_fields: A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.
ⓘImportant traits for MalchimpIter<B>pub fn iter(
&self,
filters: AuthorizedFilter
) -> MalchimpIter<AuthorizedAppsBuilder>
[src]
&self,
filters: AuthorizedFilter
) -> MalchimpIter<AuthorizedAppsBuilder>
Returns a iterator to access all applications
Trait Implementations
impl Clone for AuthorizedApps
[src]
fn clone(&self) -> AuthorizedApps
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AuthorizedApps
[src]
Auto Trait Implementations
impl Send for AuthorizedApps
impl Sync for AuthorizedApps
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
U: TryFrom<T>,