pub struct InputData {
pub collection: Nsid,
pub record: Unknown,
pub repo: AtIdentifier,
pub rkey: Option<RecordKey>,
pub swap_commit: Option<Cid>,
pub validate: Option<bool>,
}
Fields§
§collection: Nsid
The NSID of the record collection.
record: Unknown
The record itself. Must contain a $type field.
repo: AtIdentifier
The handle or DID of the repo (aka, current account).
rkey: Option<RecordKey>
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, ‘true’ to require it, or leave unset to validate only for known Lexicons.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InputData
impl<'de> Deserialize<'de> for InputData
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
impl Eq for InputData
impl StructuralPartialEq for InputData
Auto Trait Implementations§
impl Freeze for InputData
impl RefUnwindSafe for InputData
impl Send for InputData
impl Sync for InputData
impl Unpin for InputData
impl UnwindSafe for InputData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.