pub struct ProfileCreateRelationships {
pub bundle_id: ToOne,
pub certificates: ToMany,
pub devices: Option<ToMany>,
}Expand description
The relationships a create request must carry.
Built explicitly rather than derived from ids alone, because devices
has to be absent rather than empty for store profiles — see
ProfileType::takes_devices.
Fields§
§bundle_id: ToOne§certificates: ToMany§devices: Option<ToMany>Implementations§
Trait Implementations§
Source§impl Clone for ProfileCreateRelationships
impl Clone for ProfileCreateRelationships
Source§impl Debug for ProfileCreateRelationships
impl Debug for ProfileCreateRelationships
Auto Trait Implementations§
impl Freeze for ProfileCreateRelationships
impl RefUnwindSafe for ProfileCreateRelationships
impl Send for ProfileCreateRelationships
impl Sync for ProfileCreateRelationships
impl Unpin for ProfileCreateRelationships
impl UnsafeUnpin for ProfileCreateRelationships
impl UnwindSafe for ProfileCreateRelationships
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