pub struct ProjectsCreateCardRequestOneOf1 {
pub content_id: i32,
pub content_type: String,
}
Fields§
§content_id: i32
The unique identifier of the content associated with the card
content_type: String
The piece of content associated with the card
Implementations§
Source§impl ProjectsCreateCardRequestOneOf1
impl ProjectsCreateCardRequestOneOf1
pub fn new( content_id: i32, content_type: String, ) -> ProjectsCreateCardRequestOneOf1
Trait Implementations§
Source§impl Clone for ProjectsCreateCardRequestOneOf1
impl Clone for ProjectsCreateCardRequestOneOf1
Source§fn clone(&self) -> ProjectsCreateCardRequestOneOf1
fn clone(&self) -> ProjectsCreateCardRequestOneOf1
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 Default for ProjectsCreateCardRequestOneOf1
impl Default for ProjectsCreateCardRequestOneOf1
Source§fn default() -> ProjectsCreateCardRequestOneOf1
fn default() -> ProjectsCreateCardRequestOneOf1
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectsCreateCardRequestOneOf1
impl<'de> Deserialize<'de> for ProjectsCreateCardRequestOneOf1
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
Source§impl PartialEq for ProjectsCreateCardRequestOneOf1
impl PartialEq for ProjectsCreateCardRequestOneOf1
Source§fn eq(&self, other: &ProjectsCreateCardRequestOneOf1) -> bool
fn eq(&self, other: &ProjectsCreateCardRequestOneOf1) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ProjectsCreateCardRequestOneOf1
Auto Trait Implementations§
impl Freeze for ProjectsCreateCardRequestOneOf1
impl RefUnwindSafe for ProjectsCreateCardRequestOneOf1
impl Send for ProjectsCreateCardRequestOneOf1
impl Sync for ProjectsCreateCardRequestOneOf1
impl Unpin for ProjectsCreateCardRequestOneOf1
impl UnwindSafe for ProjectsCreateCardRequestOneOf1
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