pub struct EventsServicesResource<'a> { /* private fields */ }Expand description
client.events().services()
Implementations§
Source§impl<'a> EventsServicesResource<'a>
impl<'a> EventsServicesResource<'a>
Sourcepub fn list_possible_persons(
&self,
event_id: impl Display,
service_id: impl Display,
) -> Result<Vec<PossibleEventPerson>>
pub fn list_possible_persons( &self, event_id: impl Display, service_id: impl Display, ) -> Result<Vec<PossibleEventPerson>>
Get service candidates with planning hints
GET /events/{eventId}/services/{serviceId}/possiblepersons
Returns an unpaginated list of persons from active, visible-role memberships in groups connected to this reusable service role, narrowed by connected tags when present. Archived or deceased persons are excluded and hidden-person visibility is respected. Without permission to assign other persons, only the current user can appear. With no connected groups the list is empty.
§Example
for possible_person in client.events().services().list_possible_persons(42, 2)? {
println!("{}", possible_person.partner_services);
}Trait Implementations§
Source§impl<'a> Clone for EventsServicesResource<'a>
impl<'a> Clone for EventsServicesResource<'a>
impl<'a> Copy for EventsServicesResource<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for EventsServicesResource<'a>
impl<'a> !UnwindSafe for EventsServicesResource<'a>
impl<'a> Freeze for EventsServicesResource<'a>
impl<'a> Send for EventsServicesResource<'a>
impl<'a> Sync for EventsServicesResource<'a>
impl<'a> Unpin for EventsServicesResource<'a>
impl<'a> UnsafeUnpin for EventsServicesResource<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more