pub struct CustomFieldContextProjectMapping {
pub context_id: String,
pub project_id: Option<String>,
pub is_global_context: Option<bool>,
}
Expand description
CustomFieldContextProjectMapping : Details of a context to project association.
Fields§
§context_id: String
The ID of the context.
project_id: Option<String>
The ID of the project.
is_global_context: Option<bool>
Whether context is global.
Implementations§
Source§impl CustomFieldContextProjectMapping
impl CustomFieldContextProjectMapping
Sourcepub fn new(context_id: String) -> CustomFieldContextProjectMapping
pub fn new(context_id: String) -> CustomFieldContextProjectMapping
Details of a context to project association.
Trait Implementations§
Source§impl Clone for CustomFieldContextProjectMapping
impl Clone for CustomFieldContextProjectMapping
Source§fn clone(&self) -> CustomFieldContextProjectMapping
fn clone(&self) -> CustomFieldContextProjectMapping
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 CustomFieldContextProjectMapping
impl Default for CustomFieldContextProjectMapping
Source§fn default() -> CustomFieldContextProjectMapping
fn default() -> CustomFieldContextProjectMapping
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomFieldContextProjectMapping
impl<'de> Deserialize<'de> for CustomFieldContextProjectMapping
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 CustomFieldContextProjectMapping
impl PartialEq for CustomFieldContextProjectMapping
Source§fn eq(&self, other: &CustomFieldContextProjectMapping) -> bool
fn eq(&self, other: &CustomFieldContextProjectMapping) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CustomFieldContextProjectMapping
Auto Trait Implementations§
impl Freeze for CustomFieldContextProjectMapping
impl RefUnwindSafe for CustomFieldContextProjectMapping
impl Send for CustomFieldContextProjectMapping
impl Sync for CustomFieldContextProjectMapping
impl Unpin for CustomFieldContextProjectMapping
impl UnwindSafe for CustomFieldContextProjectMapping
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