Struct atrium_api::com::atproto::repo::apply_writes::Input
source · pub struct Input {
pub repo: AtIdentifier,
pub swap_commit: Option<Cid>,
pub validate: Option<bool>,
pub writes: Vec<InputWritesItem>,
}
Fields§
§repo: AtIdentifier
The handle or DID of the repo (aka, current account).
swap_commit: Option<Cid>
If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations.
validate: Option<bool>
Can be set to ‘false’ to skip Lexicon schema validation of record data, for all operations.
writes: Vec<InputWritesItem>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Input
impl<'de> Deserialize<'de> for Input
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 Input
impl PartialEq for Input
impl Eq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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