pub struct ProjectUpdateInputBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ProjectUpdateInputBuilder<S>
impl<S: State> ProjectUpdateInputBuilder<S>
Sourcepub fn build(self) -> ProjectUpdateInputwhere
S: IsComplete,
pub fn build(self) -> ProjectUpdateInputwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn name(self, value: String) -> ProjectUpdateInputBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(self, value: String) -> ProjectUpdateInputBuilder<SetName<S>>where
S::Name: IsUnset,
Sourcepub fn maybe_name(
self,
value: Option<String>,
) -> ProjectUpdateInputBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<String>,
) -> ProjectUpdateInputBuilder<SetName<S>>where
S::Name: IsUnset,
Sourcepub fn description(
self,
value: String,
) -> ProjectUpdateInputBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: String,
) -> ProjectUpdateInputBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn maybe_description(
self,
value: Option<String>,
) -> ProjectUpdateInputBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<String>,
) -> ProjectUpdateInputBuilder<SetDescription<S>>where
S::Description: IsUnset,
Sourcepub fn status_id(
self,
value: ProjectStatusId,
) -> ProjectUpdateInputBuilder<SetStatusId<S>>where
S::StatusId: IsUnset,
pub fn status_id(
self,
value: ProjectStatusId,
) -> ProjectUpdateInputBuilder<SetStatusId<S>>where
S::StatusId: IsUnset,
Sourcepub fn maybe_status_id(
self,
value: Option<ProjectStatusId>,
) -> ProjectUpdateInputBuilder<SetStatusId<S>>where
S::StatusId: IsUnset,
pub fn maybe_status_id(
self,
value: Option<ProjectStatusId>,
) -> ProjectUpdateInputBuilder<SetStatusId<S>>where
S::StatusId: IsUnset,
Sourcepub fn priority(
self,
value: Priority,
) -> ProjectUpdateInputBuilder<SetPriority<S>>where
S::Priority: IsUnset,
pub fn priority(
self,
value: Priority,
) -> ProjectUpdateInputBuilder<SetPriority<S>>where
S::Priority: IsUnset,
Sourcepub fn maybe_priority(
self,
value: Option<Priority>,
) -> ProjectUpdateInputBuilder<SetPriority<S>>where
S::Priority: IsUnset,
pub fn maybe_priority(
self,
value: Option<Priority>,
) -> ProjectUpdateInputBuilder<SetPriority<S>>where
S::Priority: IsUnset,
Sourcepub fn team_ids(
self,
value: Vec<TeamId>,
) -> ProjectUpdateInputBuilder<SetTeamIds<S>>where
S::TeamIds: IsUnset,
pub fn team_ids(
self,
value: Vec<TeamId>,
) -> ProjectUpdateInputBuilder<SetTeamIds<S>>where
S::TeamIds: IsUnset,
Sourcepub fn maybe_team_ids(
self,
value: Option<Vec<TeamId>>,
) -> ProjectUpdateInputBuilder<SetTeamIds<S>>where
S::TeamIds: IsUnset,
pub fn maybe_team_ids(
self,
value: Option<Vec<TeamId>>,
) -> ProjectUpdateInputBuilder<SetTeamIds<S>>where
S::TeamIds: IsUnset,
Sourcepub fn content(
self,
value: impl Into<Undefinable<String>>,
) -> ProjectUpdateInputBuilder<SetContent<S>>where
S::Content: IsUnset,
pub fn content(
self,
value: impl Into<Undefinable<String>>,
) -> ProjectUpdateInputBuilder<SetContent<S>>where
S::Content: IsUnset,
Optional (Some / Option setters).
Default: <Undefinable<String> as Default>::default().
Long-form markdown content.
Live-verified server quirk: Linear ignores both null and the
empty string for this document-backed field — neither
Undefinable::Null nor "" clears it; only non-empty values
update it.
Sourcepub fn maybe_content(
self,
value: Option<impl Into<Undefinable<String>>>,
) -> ProjectUpdateInputBuilder<SetContent<S>>where
S::Content: IsUnset,
pub fn maybe_content(
self,
value: Option<impl Into<Undefinable<String>>>,
) -> ProjectUpdateInputBuilder<SetContent<S>>where
S::Content: IsUnset,
Optional (Some / Option setters).
Default: <Undefinable<String> as Default>::default().
Long-form markdown content.
Live-verified server quirk: Linear ignores both null and the
empty string for this document-backed field — neither
Undefinable::Null nor "" clears it; only non-empty values
update it.
Sourcepub fn lead_id(
self,
value: impl Into<Undefinable<UserId>>,
) -> ProjectUpdateInputBuilder<SetLeadId<S>>where
S::LeadId: IsUnset,
pub fn lead_id(
self,
value: impl Into<Undefinable<UserId>>,
) -> ProjectUpdateInputBuilder<SetLeadId<S>>where
S::LeadId: IsUnset,
Sourcepub fn maybe_lead_id(
self,
value: Option<impl Into<Undefinable<UserId>>>,
) -> ProjectUpdateInputBuilder<SetLeadId<S>>where
S::LeadId: IsUnset,
pub fn maybe_lead_id(
self,
value: Option<impl Into<Undefinable<UserId>>>,
) -> ProjectUpdateInputBuilder<SetLeadId<S>>where
S::LeadId: IsUnset,
Sourcepub fn start_date(
self,
value: impl Into<Undefinable<TimelessDate>>,
) -> ProjectUpdateInputBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
pub fn start_date(
self,
value: impl Into<Undefinable<TimelessDate>>,
) -> ProjectUpdateInputBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
Sourcepub fn maybe_start_date(
self,
value: Option<impl Into<Undefinable<TimelessDate>>>,
) -> ProjectUpdateInputBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
pub fn maybe_start_date(
self,
value: Option<impl Into<Undefinable<TimelessDate>>>,
) -> ProjectUpdateInputBuilder<SetStartDate<S>>where
S::StartDate: IsUnset,
Sourcepub fn target_date(
self,
value: impl Into<Undefinable<TimelessDate>>,
) -> ProjectUpdateInputBuilder<SetTargetDate<S>>where
S::TargetDate: IsUnset,
pub fn target_date(
self,
value: impl Into<Undefinable<TimelessDate>>,
) -> ProjectUpdateInputBuilder<SetTargetDate<S>>where
S::TargetDate: IsUnset,
Sourcepub fn maybe_target_date(
self,
value: Option<impl Into<Undefinable<TimelessDate>>>,
) -> ProjectUpdateInputBuilder<SetTargetDate<S>>where
S::TargetDate: IsUnset,
pub fn maybe_target_date(
self,
value: Option<impl Into<Undefinable<TimelessDate>>>,
) -> ProjectUpdateInputBuilder<SetTargetDate<S>>where
S::TargetDate: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for ProjectUpdateInputBuilder<S>
impl<S> RefUnwindSafe for ProjectUpdateInputBuilder<S>
impl<S> Send for ProjectUpdateInputBuilder<S>
impl<S> Sync for ProjectUpdateInputBuilder<S>
impl<S> Unpin for ProjectUpdateInputBuilder<S>
impl<S> UnsafeUnpin for ProjectUpdateInputBuilder<S>
impl<S> UnwindSafe for ProjectUpdateInputBuilder<S>
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