Struct radicle_cob::object::collaboration::Create
source · pub struct Create {
pub contents: NonEmpty<Vec<u8>>,
pub type_name: TypeName,
pub message: String,
pub embeds: Vec<Embed>,
pub version: Version,
}
Expand description
The metadata required for creating a new CollaborativeObject
.
Fields§
§contents: NonEmpty<Vec<u8>>
The CRDT history to initialize this object with.
type_name: TypeName
The typename for this object.
message: String
The message to add when creating this object.
embeds: Vec<Embed>
Embedded content.
version: Version
COB version.
Auto Trait Implementations§
impl Freeze for Create
impl RefUnwindSafe for Create
impl Send for Create
impl Sync for Create
impl Unpin for Create
impl UnwindSafe for Create
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