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§fn clone(&self) -> ProfileCreateRelationships
fn clone(&self) -> ProfileCreateRelationships
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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