pub struct GroupsCheckinResource<'a> { /* private fields */ }Expand description
client.groups().checkin()
Implementations§
Source§impl<'a> GroupsCheckinResource<'a>
impl<'a> GroupsCheckinResource<'a>
Sourcepub fn create(
&self,
group_id: impl Display,
person_id: impl Display,
body: &CheckinCreate,
) -> Result<Checkin>
pub fn create( &self, group_id: impl Display, person_id: impl Display, body: &CheckinCreate, ) -> Result<Checkin>
Check in a person at a group meeting
POST /groups/{groupId}/checkin/{personId}
Marks an existing person present at a group meeting. Requires permission to manage meetings of the path group. Supply either an existing meeting ID belonging to this group or its exact start timestamp; the timestamp variant creates a meeting when necessary. This does not create a group membership. Completed meetings and people already marked present produce 400. An optional ticket is marked used before these checks. printerId requests a name tag; printer warnings do not undo attendance or prevent a success response.
§Example
let body = models::CheckinCreate {
date: Some(Some("2022-10-19T12:00:00Z".parse()?)),
..Default::default()
};
let result = client.groups().checkin().create(42, 42, &body)?;
println!("{}", result.total_checked_in);Trait Implementations§
Source§impl<'a> Clone for GroupsCheckinResource<'a>
impl<'a> Clone for GroupsCheckinResource<'a>
impl<'a> Copy for GroupsCheckinResource<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GroupsCheckinResource<'a>
impl<'a> !UnwindSafe for GroupsCheckinResource<'a>
impl<'a> Freeze for GroupsCheckinResource<'a>
impl<'a> Send for GroupsCheckinResource<'a>
impl<'a> Sync for GroupsCheckinResource<'a>
impl<'a> Unpin for GroupsCheckinResource<'a>
impl<'a> UnsafeUnpin for GroupsCheckinResource<'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