Struct redmine_api::api::enumerations::DocumentCategoriesWrapper
source · pub struct DocumentCategoriesWrapper<T> {
pub document_categories: Vec<T>,
}
Expand description
helper struct for outer layers with a document_categories field holding the inner data
Fields§
§document_categories: Vec<T>
to parse JSON with document_categories key
Trait Implementations§
source§impl<T: Debug> Debug for DocumentCategoriesWrapper<T>
impl<T: Debug> Debug for DocumentCategoriesWrapper<T>
source§impl<'de, T> Deserialize<'de> for DocumentCategoriesWrapper<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for DocumentCategoriesWrapper<T>where
T: Deserialize<'de>,
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<T: PartialEq> PartialEq for DocumentCategoriesWrapper<T>
impl<T: PartialEq> PartialEq for DocumentCategoriesWrapper<T>
source§fn eq(&self, other: &DocumentCategoriesWrapper<T>) -> bool
fn eq(&self, other: &DocumentCategoriesWrapper<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> Serialize for DocumentCategoriesWrapper<T>where
T: Serialize,
impl<T> Serialize for DocumentCategoriesWrapper<T>where
T: Serialize,
impl<T: Eq> Eq for DocumentCategoriesWrapper<T>
impl<T> StructuralPartialEq for DocumentCategoriesWrapper<T>
Auto Trait Implementations§
impl<T> Freeze for DocumentCategoriesWrapper<T>
impl<T> RefUnwindSafe for DocumentCategoriesWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for DocumentCategoriesWrapper<T>where
T: Send,
impl<T> Sync for DocumentCategoriesWrapper<T>where
T: Sync,
impl<T> Unpin for DocumentCategoriesWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for DocumentCategoriesWrapper<T>where
T: UnwindSafe,
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.