Struct Project

Source
pub struct Project {
Show 34 fields pub archived: Option<bool>, pub archived_by: Option<Box<User>>, pub archived_date: Option<String>, pub assignee_type: Option<AssigneeType>, pub avatar_urls: Option<Box<AvatarUrlsBean>>, pub components: Option<Vec<ProjectComponent>>, pub deleted: Option<bool>, pub deleted_by: Option<Box<User>>, pub deleted_date: Option<String>, pub description: Option<String>, pub email: Option<String>, pub expand: Option<String>, pub favourite: Option<bool>, pub id: Option<String>, pub insight: Option<Box<ProjectInsight>>, pub is_private: Option<bool>, pub issue_type_hierarchy: Option<Box<Hierarchy>>, pub issue_types: Option<Vec<IssueTypeDetails>>, pub key: Option<String>, pub landing_page_info: Option<Box<ProjectLandingPageInfo>>, pub lead: Option<Box<User>>, pub name: Option<String>, pub permissions: Option<Box<ProjectPermissions>>, pub project_category: Option<Box<ProjectCategory>>, pub project_type_key: Option<ProjectTypeKey>, pub properties: Option<HashMap<String, Value>>, pub retention_till_date: Option<String>, pub roles: Option<HashMap<String, String>>, pub param_self: Option<String>, pub simplified: Option<bool>, pub style: Option<Style>, pub url: Option<String>, pub uuid: Option<Uuid>, pub versions: Option<Vec<Version>>,
}
Expand description

Project : Details about a project.

Fields§

§archived: Option<bool>

Whether the project is archived.

§archived_by: Option<Box<User>>

The user who archived the project.

§archived_date: Option<String>

The date when the project was archived.

§assignee_type: Option<AssigneeType>

The default assignee when creating issues for this project.

§avatar_urls: Option<Box<AvatarUrlsBean>>

The URLs of the project’s avatars.

§components: Option<Vec<ProjectComponent>>

List of the components contained in the project.

§deleted: Option<bool>

Whether the project is marked as deleted.

§deleted_by: Option<Box<User>>

The user who marked the project as deleted.

§deleted_date: Option<String>

The date when the project was marked as deleted.

§description: Option<String>

A brief description of the project.

§email: Option<String>

An email address associated with the project.

§expand: Option<String>

Expand options that include additional project details in the response.

§favourite: Option<bool>

Whether the project is selected as a favorite.

§id: Option<String>

The ID of the project.

§insight: Option<Box<ProjectInsight>>

Insights about the project.

§is_private: Option<bool>

Whether the project is private from the user’s perspective. This means the user can’t see the project or any associated issues.

§issue_type_hierarchy: Option<Box<Hierarchy>>

The issue type hierarchy for the project.

§issue_types: Option<Vec<IssueTypeDetails>>

List of the issue types available in the project.

§key: Option<String>

The key of the project.

§landing_page_info: Option<Box<ProjectLandingPageInfo>>

The project landing page info.

§lead: Option<Box<User>>

The username of the project lead.

§name: Option<String>

The name of the project.

§permissions: Option<Box<ProjectPermissions>>

User permissions on the project

§project_category: Option<Box<ProjectCategory>>

The category the project belongs to.

§project_type_key: Option<ProjectTypeKey>

The project type of the project.

§properties: Option<HashMap<String, Value>>

Map of project properties

§retention_till_date: Option<String>

The date when the project is deleted permanently.

§roles: Option<HashMap<String, String>>

The name and self URL for each role defined in the project. For more information, see Create project role.

§param_self: Option<String>

The URL of the project details.

§simplified: Option<bool>

Whether the project is simplified.

§style: Option<Style>

The type of the project.

§url: Option<String>

A link to information about this project, such as project documentation.

§uuid: Option<Uuid>

Unique ID for next-gen projects.

§versions: Option<Vec<Version>>

The versions defined in the project. For more information, see Create version.

Implementations§

Source§

impl Project

Source

pub fn new() -> Project

Details about a project.

Trait Implementations§

Source§

impl Clone for Project

Source§

fn clone(&self) -> Project

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 Project

Source§

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

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

impl Default for Project

Source§

fn default() -> Project

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

impl<'de> Deserialize<'de> for Project

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 PartialEq for Project

Source§

fn eq(&self, other: &Project) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Project

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
Source§

impl StructuralPartialEq for Project

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> ErasedDestructor for T
where T: 'static,