pub trait PibClient: Clone {
type ClientError: Error;
Show 19 methods
// Required methods
fn get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn config_get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_get<'life0, 'async_trait>(
&'life0 self,
pagination: Pagination,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_post<'life0, 'async_trait>(
&'life0 self,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_meeting_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
pagination: Pagination,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_meeting_post<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_meeting_by_id_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
meeting_id: MeetingId,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_meeting_by_id_agenda_item_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
meeting_id: MeetingId,
pagination: Pagination,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_meeting_by_id_agenda_item_post<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
meeting_id: MeetingId,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_meeting_by_id_agenda_item_by_id_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
meeting_id: MeetingId,
agenda_item_id: AgendaItemId,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_organization_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
pagination: Pagination,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_organization_post<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_organization_by_id_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
organization_id: OrganizationId,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_person_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
pagination: Pagination,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_person_post<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn body_by_id_person_by_id_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
person_id: PersonId,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn me_profile_get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn me_profile_patch<'life0, 'async_trait>(
&'life0 self,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Required Associated Types§
type ClientError: Error
Required Methods§
fn get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn config_get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_get<'life0, 'async_trait>(
&'life0 self,
pagination: Pagination,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_post<'life0, 'async_trait>(
&'life0 self,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_meeting_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
pagination: Pagination,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_meeting_post<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_meeting_by_id_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
meeting_id: MeetingId,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_meeting_by_id_agenda_item_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
meeting_id: MeetingId,
pagination: Pagination,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_meeting_by_id_agenda_item_post<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
meeting_id: MeetingId,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_meeting_by_id_agenda_item_by_id_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
meeting_id: MeetingId,
agenda_item_id: AgendaItemId,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_organization_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
pagination: Pagination,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_organization_post<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_organization_by_id_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
organization_id: OrganizationId,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_person_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
pagination: Pagination,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_person_post<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn body_by_id_person_by_id_get<'life0, 'async_trait>(
&'life0 self,
body_id: BodyId,
person_id: PersonId,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn me_profile_get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn me_profile_patch<'life0, 'async_trait>(
&'life0 self,
payload: RequestBody,
) -> Pin<Box<dyn Future<Output = Result<ResponseBody, Self::ClientError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".