Struct atrium_api::com::atproto::repo::create_record::Input
source · pub struct Input {
pub collection: Nsid,
pub record: Record,
pub repo: AtIdentifier,
pub rkey: Option<String>,
pub swap_commit: Option<Cid>,
pub validate: Option<bool>,
}
Fields§
§collection: Nsid
The NSID of the record collection.
record: Record
The record itself. Must contain a $type field.
repo: AtIdentifier
The handle or DID of the repo (aka, current account).
rkey: Option<String>
The Record Key.
swap_commit: Option<Cid>
Compare and swap with the previous commit by CID.
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