pub struct CreateNoteInput {
pub note_id: Iri,
pub create_id: Iri,
pub to: References<Iri>,
pub cc: References<Iri>,
pub content: String,
pub media_type: Option<String>,
pub published: Option<String>,
pub url: Option<Iri>,
}Expand description
Runtime-provided facts for constructing one local Note and Create activity.
IDs and timestamps are inputs so core does not depend on clocks, randomness, or an operating-system-specific identifier source.
Fields§
§note_id: Iri§create_id: Iri§to: References<Iri>§cc: References<Iri>§content: String§media_type: Option<String>§published: Option<String>§url: Option<Iri>Trait Implementations§
Source§impl Clone for CreateNoteInput
impl Clone for CreateNoteInput
Source§impl Debug for CreateNoteInput
impl Debug for CreateNoteInput
impl Eq for CreateNoteInput
Source§impl PartialEq for CreateNoteInput
impl PartialEq for CreateNoteInput
impl StructuralPartialEq for CreateNoteInput
Auto Trait Implementations§
impl Freeze for CreateNoteInput
impl RefUnwindSafe for CreateNoteInput
impl Send for CreateNoteInput
impl Sync for CreateNoteInput
impl Unpin for CreateNoteInput
impl UnsafeUnpin for CreateNoteInput
impl UnwindSafe for CreateNoteInput
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