pub struct CustomerNeedUpdateInput {
pub id: Option<String>,
pub customer_id: Option<String>,
pub customer_external_id: Option<String>,
pub issue_id: Option<String>,
pub project_id: Option<String>,
pub priority: Option<f64>,
pub apply_priority_to_related_needs: Option<bool>,
pub body: Option<String>,
pub body_data: Option<Value>,
pub attachment_url: Option<String>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
customer_id: Option<String>The uuid of the customer the need belongs to.
customer_external_id: Option<String>The external ID of the customer the need belongs to.
issue_id: Option<String>The issue this need is referencing. Can be a UUID or issue identifier (e.g., ‘LIN-123’).
project_id: Option<String>INTERNAL The project this need is referencing.
priority: Option<f64>Whether the customer need is important or not. 0 = Not important, 1 = Important.
Whether to also update the priority of needs from the same customer on the same issue/project.
body: Option<String>The content of the need in markdown format.
body_data: Option<Value>Internal The content of the need as a Prosemirror document.
attachment_url: Option<String>Optional URL for the attachment associated with the customer need.
Trait Implementations§
Source§impl Clone for CustomerNeedUpdateInput
impl Clone for CustomerNeedUpdateInput
Source§fn clone(&self) -> CustomerNeedUpdateInput
fn clone(&self) -> CustomerNeedUpdateInput
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 CustomerNeedUpdateInput
impl Debug for CustomerNeedUpdateInput
Source§impl Default for CustomerNeedUpdateInput
impl Default for CustomerNeedUpdateInput
Source§fn default() -> CustomerNeedUpdateInput
fn default() -> CustomerNeedUpdateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerNeedUpdateInput
impl<'de> Deserialize<'de> for CustomerNeedUpdateInput
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 CustomerNeedUpdateInput
impl RefUnwindSafe for CustomerNeedUpdateInput
impl Send for CustomerNeedUpdateInput
impl Sync for CustomerNeedUpdateInput
impl Unpin for CustomerNeedUpdateInput
impl UnwindSafe for CustomerNeedUpdateInput
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