Struct redmine_api::api::issues::IssueWrapper
source · [−]pub struct IssueWrapper<T> {
pub issue: 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 issue field holding the inner data
Fields
issue: T
to parse JSON with an issue 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 IssueWrapper<T> where
T: RefUnwindSafe,
impl<T> Send for IssueWrapper<T> where
T: Send,
impl<T> Sync for IssueWrapper<T> where
T: Sync,
impl<T> Unpin for IssueWrapper<T> where
T: Unpin,
impl<T> UnwindSafe for IssueWrapper<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