Struct radicle_cob::object::collaboration::Update
source · pub struct Update {
pub changes: NonEmpty<Vec<u8>>,
pub object_id: ObjectId,
pub type_name: TypeName,
pub message: String,
pub embeds: Vec<Embed>,
}Expand description
The data required to update an object
Fields§
§changes: NonEmpty<Vec<u8>>The CRDT changes to add to the object.
object_id: ObjectIdThe object ID of the object to be updated.
type_name: TypeNameThe typename of the object to be updated.
message: StringThe message to add when updating this object.
embeds: Vec<Embed>Embedded files.
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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