Struct mailchimp_api::authorized_apps::AuthorizedApps
source · pub struct AuthorizedApps {
pub client: Client,
}
Fields
client: Client
Implementations
sourceimpl AuthorizedApps
impl AuthorizedApps
sourcepub async fn get(
&self,
fields: &[String],
exclude_fields: &[String],
count: i64,
offset: i64
) -> Result<GetAuthorizedAppsResponse>
pub async fn get(
&self,
fields: &[String],
exclude_fields: &[String],
count: i64,
offset: i64
) -> Result<GetAuthorizedAppsResponse>
List authorized apps.
This function performs a GET
to the /authorized-apps
endpoint.
Get a list of an account’s registered, connected applications.
Parameters:
fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.exclude_fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.count: i64
– The number of records to return. Default value is 10. Maximum value is 1000.offset: i64
– Used for pagination, this it the number of records from a collection to skip. Default value is 0.
Get authorized app info.
This function performs a GET
to the /authorized-apps/{app_id}
endpoint.
Get information about a specific authorized application.
Parameters:
fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.exclude_fields: &[String]
– A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.app_id: &str
– The unique id for the connected authorized application.
Auto Trait Implementations
impl !RefUnwindSafe for AuthorizedApps
impl Send for AuthorizedApps
impl Sync for AuthorizedApps
impl Unpin for AuthorizedApps
impl !UnwindSafe for AuthorizedApps
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more