pub struct PostCollectionsMergeBody {
pub destination: String,
pub source: String,
pub strategy: Option<Strategy>,
}
Fields§
§destination: String
The destination collection’s unique ID.
source: String
The forked collection’s unique ID.
strategy: Option<Strategy>
The fork’s merge strategy:
deleteSource
— The system deletes the forked collection after a successful merge into the destination collection.updateSourceWithDestination
— The system only merges the forked collection into the destination collection.
Trait Implementations§
Source§impl Clone for PostCollectionsMergeBody
impl Clone for PostCollectionsMergeBody
Source§fn clone(&self) -> PostCollectionsMergeBody
fn clone(&self) -> PostCollectionsMergeBody
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 PostCollectionsMergeBody
impl Debug for PostCollectionsMergeBody
Source§impl<'de> Deserialize<'de> for PostCollectionsMergeBody
impl<'de> Deserialize<'de> for PostCollectionsMergeBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PostCollectionsMergeBody
impl PartialEq for PostCollectionsMergeBody
Source§impl Serialize for PostCollectionsMergeBody
impl Serialize for PostCollectionsMergeBody
impl StructuralPartialEq for PostCollectionsMergeBody
Auto Trait Implementations§
impl Freeze for PostCollectionsMergeBody
impl RefUnwindSafe for PostCollectionsMergeBody
impl Send for PostCollectionsMergeBody
impl Sync for PostCollectionsMergeBody
impl Unpin for PostCollectionsMergeBody
impl UnwindSafe for PostCollectionsMergeBody
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