Struct atrium_api::com::atproto::repo::put_record::Input
source · pub struct Input {
pub collection: Nsid,
pub record: Record,
pub repo: AtIdentifier,
pub rkey: String,
pub swap_commit: Option<Cid>,
pub swap_record: Option<Cid>,
pub validate: Option<bool>,
}Fields§
§collection: NsidThe NSID of the record collection.
record: RecordThe record to write.
repo: AtIdentifierThe handle or DID of the repo (aka, current account).
rkey: StringThe Record Key.
swap_commit: Option<Cid>Compare and swap with the previous commit by CID.
swap_record: Option<Cid>Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation
validate: Option<bool>Can be set to ‘false’ to skip Lexicon schema validation of record data.
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