pub struct Write {
pub uri: String,
pub cid: String,
pub collection: String,
pub rkey: String,
pub record: Value,
pub space: Option<String>,
pub private: bool,
pub lexicon: bool,
}Expand description
One write, as it goes out.
Fields§
§uri: String§cid: String§collection: String§rkey: String§record: Value§space: Option<String>§private: boolThrough the private batch write rather than the PDS.
lexicon: boolThe platform has a lexicon for its type. A record without one (another app’s own type, P18.1)
is never curated: the platform answers it “not curated: no lexicon” (put passes that on as
the record’s status), and put does not wait for a curated version of it.
Trait Implementations§
impl StructuralPartialEq for Write
Auto Trait Implementations§
impl Freeze for Write
impl RefUnwindSafe for Write
impl Send for Write
impl Sync for Write
impl Unpin for Write
impl UnsafeUnpin for Write
impl UnwindSafe for Write
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