pub struct DocumentCreateInput {Show 15 fields
pub id: Option<String>,
pub title: Option<String>,
pub icon: Option<String>,
pub color: Option<String>,
pub content: Option<String>,
pub project_id: Option<String>,
pub initiative_id: Option<String>,
pub team_id: Option<String>,
pub issue_id: Option<String>,
pub release_id: Option<String>,
pub cycle_id: Option<String>,
pub resource_folder_id: Option<String>,
pub last_applied_template_id: Option<String>,
pub sort_order: Option<f64>,
pub subscriber_ids: Option<Vec<String>>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
title: Option<String>The title of the document.
icon: Option<String>The icon of the document.
color: Option<String>The color of the icon.
content: Option<String>The document content as markdown.
project_id: Option<String>Related project for the document.
initiative_id: Option<String>Internal Related initiative for the document.
team_id: Option<String>Internal Related team for the document.
issue_id: Option<String>Related issue for the document. Can be a UUID or issue identifier (e.g., ‘LIN-123’).
release_id: Option<String>Internal Related release for the document.
cycle_id: Option<String>Internal Related cycle for the document.
resource_folder_id: Option<String>Internal The resource folder containing the document.
last_applied_template_id: Option<String>The ID of the last template applied to the document.
sort_order: Option<f64>The order of the item in the resources list.
subscriber_ids: Option<Vec<String>>INTERNAL The identifiers of the users subscribing to this document.
Trait Implementations§
Source§impl Clone for DocumentCreateInput
impl Clone for DocumentCreateInput
Source§fn clone(&self) -> DocumentCreateInput
fn clone(&self) -> DocumentCreateInput
Returns a duplicate of the value. Read more
1.0.0 · 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 DocumentCreateInput
impl Debug for DocumentCreateInput
Source§impl Default for DocumentCreateInput
impl Default for DocumentCreateInput
Source§fn default() -> DocumentCreateInput
fn default() -> DocumentCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DocumentCreateInput
impl<'de> Deserialize<'de> for DocumentCreateInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DocumentCreateInput
impl RefUnwindSafe for DocumentCreateInput
impl Send for DocumentCreateInput
impl Sync for DocumentCreateInput
impl Unpin for DocumentCreateInput
impl UnwindSafe for DocumentCreateInput
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