Skip to main content

TeamCreateInput

Struct TeamCreateInput 

Source
pub struct TeamCreateInput {
Show 36 fields pub id: Option<String>, pub name: Option<String>, pub description: Option<String>, pub key: Option<String>, pub icon: Option<String>, pub color: Option<String>, pub cycles_enabled: Option<bool>, pub cycle_start_day: Option<f64>, pub cycle_duration: Option<i64>, pub cycle_cooldown_time: Option<i64>, pub cycle_issue_auto_assign_started: Option<bool>, pub cycle_issue_auto_assign_completed: Option<bool>, pub cycle_lock_to_active: Option<bool>, pub upcoming_cycle_count: Option<f64>, pub triage_enabled: Option<bool>, pub require_priority_to_leave_triage: Option<bool>, pub timezone: Option<String>, pub inherit_issue_estimation: Option<bool>, pub inherit_workflow_statuses: Option<bool>, pub issue_estimation_type: Option<String>, pub issue_estimation_allow_zero: Option<bool>, pub set_issue_sort_order_on_state_change: Option<String>, pub issue_estimation_extended: Option<bool>, pub default_issue_estimate: Option<f64>, pub group_issue_history: Option<bool>, pub default_template_for_members_id: Option<String>, pub default_template_for_non_members_id: Option<String>, pub default_project_template_id: Option<String>, pub private: Option<bool>, pub auto_close_period: Option<f64>, pub auto_close_state_id: Option<String>, pub auto_archive_period: Option<f64>, pub marked_as_duplicate_workflow_state_id: Option<String>, pub parent_id: Option<String>, pub inherit_product_intelligence_scope: Option<bool>, pub product_intelligence_scope: Option<ProductIntelligenceScope>,
}

Fields§

§id: Option<String>

The identifier in UUID v4 format. If none is provided, the backend will generate one.

§name: Option<String>

The name of the team.

§description: Option<String>

The description of the team.

§key: Option<String>

The key of the team. If not given, the key will be generated based on the name of the team.

§icon: Option<String>

The icon of the team.

§color: Option<String>

The color of the team.

§cycles_enabled: Option<bool>

Whether the team uses cycles.

§cycle_start_day: Option<f64>

The day of the week that a new cycle starts.

§cycle_duration: Option<i64>

The duration of each cycle in weeks.

§cycle_cooldown_time: Option<i64>

The cooldown time after each cycle in weeks.

§cycle_issue_auto_assign_started: Option<bool>

Auto assign started issues to current active cycle setting.

§cycle_issue_auto_assign_completed: Option<bool>

Auto assign completed issues to current active cycle setting.

§cycle_lock_to_active: Option<bool>

Only allow issues issues with cycles in Active Issues.

§upcoming_cycle_count: Option<f64>

How many upcoming cycles to create.

§triage_enabled: Option<bool>

Whether triage mode is enabled for the team.

§require_priority_to_leave_triage: Option<bool>

Whether an issue needs to have a priority set before leaving triage.

§timezone: Option<String>

The timezone of the team.

§inherit_issue_estimation: Option<bool>

Whether the team should inherit estimation settings from its parent. Only applies to sub-teams.

§inherit_workflow_statuses: Option<bool>

Internal Whether the team should inherit workflow statuses from its parent.

§issue_estimation_type: Option<String>

The issue estimation type to use. Must be one of “notUsed”, “exponential”, “fibonacci”, “linear”, “tShirt”.

§issue_estimation_allow_zero: Option<bool>

Whether to allow zeros in issues estimates.

§set_issue_sort_order_on_state_change: Option<String>

Whether to move issues to bottom of the column when changing state.

§issue_estimation_extended: Option<bool>

Whether to add additional points to the estimate scale.

§default_issue_estimate: Option<f64>

What to use as an default estimate for unestimated issues.

§group_issue_history: Option<bool>

Whether to group recent issue history entries.

§default_template_for_members_id: Option<String>

The identifier of the default template for members of this team.

§default_template_for_non_members_id: Option<String>

The identifier of the default template for non-members of this team.

§default_project_template_id: Option<String>

The identifier of the default project template of this team.

§private: Option<bool>

Internal. Whether the team is private or not.

§auto_close_period: Option<f64>

Period after which issues are automatically closed, in months.

§auto_close_state_id: Option<String>

The canceled workflow state which auto closed issues will be set to.

§auto_archive_period: Option<f64>

Period after which closed and completed issues are automatically archived, in months. 0 means disabled.

§marked_as_duplicate_workflow_state_id: Option<String>

The workflow state into which issues are moved when they are marked as a duplicate of another issue.

§parent_id: Option<String>

The parent team ID.

§inherit_product_intelligence_scope: Option<bool>

Internal Whether the team should inherit its product intelligence scope from its parent. Only applies to sub-teams.

§product_intelligence_scope: Option<ProductIntelligenceScope>

Internal The scope of product intelligence suggestion data for the team.

Trait Implementations§

Source§

impl Clone for TeamCreateInput

Source§

fn clone(&self) -> TeamCreateInput

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TeamCreateInput

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for TeamCreateInput

Source§

fn default() -> TeamCreateInput

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for TeamCreateInput

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for TeamCreateInput

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> FieldCompatible<T> for T