Struct mailchimp_api::root::Root
source · pub struct Root {
pub client: Client,
}
Fields
client: Client
Implementations
sourceimpl Root
impl Root
sourcepub async fn get(
&self,
fields: &[String],
exclude_fields: &[String]
) -> Result<ApiRoot>
pub async fn get(
&self,
fields: &[String],
exclude_fields: &[String]
) -> Result<ApiRoot>
List api root resources.
This function performs a GET
to the /
endpoint.
Get links to all other resources available in the API.
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.
Auto Trait Implementations
impl !RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl !UnwindSafe for Root
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