pub struct UserCreateNote {
pub note_id: Iri,
pub create_id: Iri,
pub actor: Reference<Actor>,
pub content: String,
pub published: Option<String>,
}Expand description
Runtime-provided data for creating a local note.
IDs and timestamps are inputs so the core does not depend on clocks, randomness, or platform-specific ID generation.
Fields§
§note_id: Iri§create_id: Iri§actor: Reference<Actor>§content: String§published: Option<String>Trait Implementations§
Source§impl Clone for UserCreateNote
impl Clone for UserCreateNote
Source§fn clone(&self) -> UserCreateNote
fn clone(&self) -> UserCreateNote
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserCreateNote
impl Debug for UserCreateNote
impl Eq for UserCreateNote
Source§impl PartialEq for UserCreateNote
impl PartialEq for UserCreateNote
Source§fn eq(&self, other: &UserCreateNote) -> bool
fn eq(&self, other: &UserCreateNote) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UserCreateNote
Auto Trait Implementations§
impl Freeze for UserCreateNote
impl RefUnwindSafe for UserCreateNote
impl Send for UserCreateNote
impl Sync for UserCreateNote
impl Unpin for UserCreateNote
impl UnsafeUnpin for UserCreateNote
impl UnwindSafe for UserCreateNote
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