#[non_exhaustive]pub struct Card {Show 23 fields
pub id: String,
pub number: i32,
pub title: String,
pub status: String,
pub description: Option<String>,
pub description_html: Option<String>,
pub image_url: Option<String>,
pub has_attachments: bool,
pub tags: Option<Vec<String>>,
pub closed: bool,
pub postponed: bool,
pub golden: bool,
pub last_active_at: Option<DateTime>,
pub created_at: DateTime,
pub url: String,
pub board: Option<Board>,
pub column: Option<Column>,
pub creator: Option<User>,
pub assignees: Option<Vec<User>>,
pub has_more_assignees: Option<bool>,
pub comments_url: Option<String>,
pub reactions_url: Option<String>,
pub steps: Option<Vec<Step>>,
}Expand description
Card, as Fizzy sends it. Read-only, so a field added later is not a breaking change.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Stringid.
number: i32number.
title: Stringtitle.
status: Stringstatus.
description: Option<String>description.
description_html: Option<String>description_html.
image_url: Option<String>image_url.
has_attachments: boolhas_attachments.
tags.
closed: boolclosed.
postponed: boolpostponed.
golden: boolgolden.
last_active_at: Option<DateTime>last_active_at.
created_at: DateTimecreated_at.
url: Stringurl.
board: Option<Board>board.
column: Option<Column>column.
creator: Option<User>creator.
assignees: Option<Vec<User>>assignees.
has_more_assignees: Option<bool>has_more_assignees.
comments_url: Option<String>comments_url.
reactions_url: Option<String>reactions_url.
steps: Option<Vec<Step>>steps.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Card
impl<'de> Deserialize<'de> for Card
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
impl StructuralPartialEq for Card
Auto Trait Implementations§
impl Freeze for Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnsafeUnpin for Card
impl UnwindSafe for Card
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