pub struct ToMany {
pub data: Vec<ResourceId>,
}Expand description
A to-many relationship payload, e.g. relationships.certificates on a
POST /v1/profiles body.
Apple distinguishes an empty array from an absent relationship: sending
{"data": []} for devices means “no devices”, which a development
profile rejects, while omitting the key entirely is what an App Store
profile wants. Callers that mean “absent” should pass None for the
whole field rather than an empty ToMany.
Fields§
§data: Vec<ResourceId>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToMany
impl RefUnwindSafe for ToMany
impl Send for ToMany
impl Sync for ToMany
impl Unpin for ToMany
impl UnsafeUnpin for ToMany
impl UnwindSafe for ToMany
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