pub struct SaveCollectionRequest {
pub ref: u32,
pub coldata: SaveCollectionColdata,
}Fields§
§ref: u32The ID of the collection to save.
coldata: SaveCollectionColdataJSON object containing the collection fields to update (e.g. name, description, public).
Implementations§
Source§impl SaveCollectionRequest
impl SaveCollectionRequest
pub fn new(ref: u32, coldata: SaveCollectionColdata) -> Self
Trait Implementations§
Source§impl Clone for SaveCollectionRequest
impl Clone for SaveCollectionRequest
Source§fn clone(&self) -> SaveCollectionRequest
fn clone(&self) -> SaveCollectionRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 SaveCollectionRequest
impl Debug for SaveCollectionRequest
Source§impl PartialEq for SaveCollectionRequest
impl PartialEq for SaveCollectionRequest
Source§impl Serialize for SaveCollectionRequest
impl Serialize for SaveCollectionRequest
impl StructuralPartialEq for SaveCollectionRequest
Auto Trait Implementations§
impl Freeze for SaveCollectionRequest
impl RefUnwindSafe for SaveCollectionRequest
impl Send for SaveCollectionRequest
impl Sync for SaveCollectionRequest
impl Unpin for SaveCollectionRequest
impl UnsafeUnpin for SaveCollectionRequest
impl UnwindSafe for SaveCollectionRequest
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