Struct redmine_api::api::issue_relations::RelationWrapper
source · [−]pub struct RelationWrapper<T> {
pub relation: T,
}Expand description
A lot of APIs in Redmine wrap their data in an extra layer, this is a helper struct for outer layers with a relation field holding the inner data
Fields
relation: Tto parse JSON with an relation key
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<T> RefUnwindSafe for RelationWrapper<T> where
T: RefUnwindSafe,
impl<T> Send for RelationWrapper<T> where
T: Send,
impl<T> Sync for RelationWrapper<T> where
T: Sync,
impl<T> Unpin for RelationWrapper<T> where
T: Unpin,
impl<T> UnwindSafe for RelationWrapper<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more