pub struct Designations<'a> { /* private fields */ }Implementations§
Source§impl<'a> Designations<'a>
impl<'a> Designations<'a>
Source§impl Designations<'_>
impl Designations<'_>
Sourcepub async fn create_box_designation(
&self,
box_id: i64,
contact_id: i64,
) -> Result<(), Error>
pub async fn create_box_designation( &self, box_id: i64, contact_id: i64, ) -> Result<(), Error>
Designates a contact to a box. The generated Designations::create takes the same
request as a body.
HEY designates the contact’s primary, so a contact’s aliases fold into the one
designation — whose id cannot be worked out from contact_id. Read the box back if
you need it.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Designations<'a>
impl<'a> !UnwindSafe for Designations<'a>
impl<'a> Freeze for Designations<'a>
impl<'a> Send for Designations<'a>
impl<'a> Sync for Designations<'a>
impl<'a> Unpin for Designations<'a>
impl<'a> UnsafeUnpin for Designations<'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