pub struct ApiRoot { /* private fields */ }
Expand description
Implement Mailchimp API Root Endpoint
The API root resource links to all other resources available in the API. Calling the root directory also returns details about the Mailchimp user account.
Implementations
sourceimpl ApiRoot
impl ApiRoot
sourcepub fn new(api: MailchimpApi) -> Self
pub fn new(api: MailchimpApi) -> Self
Argumentos: api: MailchimpApi
sourcepub fn get_info(
&self,
filters: HashMap<String, String>
) -> Result<ApiRootType, MailchimpErrorType>
pub fn get_info(
&self,
filters: HashMap<String, String>
) -> Result<ApiRootType, MailchimpErrorType>
Devuelve detalles de la cuenta de usuario, asi como los links a los recursos asociados
Argumentos: filters: Filtros que requieras aplicar a la hora de obtener las aplicaciones fields: Una lista de campos separados por comas para devolver. Parámetros de referencia de subobjetos con notación de puntos. exclude_fields: Una lista de campos separados por comas para excluir. Parámetros de referencia de subobjetos con notación de puntos.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ApiRoot
impl Send for ApiRoot
impl Sync for ApiRoot
impl Unpin for ApiRoot
impl !UnwindSafe for ApiRoot
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