Struct redmine_api::api::attachments::AttachmentWrapper
source · [−]pub struct AttachmentWrapper<T> {
pub attachment: T,
}
Expand description
helper struct for outer layers with a attachment field holding the inner data
Fields
attachment: T
to parse JSON with attachment 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 AttachmentWrapper<T> where
T: RefUnwindSafe,
impl<T> Send for AttachmentWrapper<T> where
T: Send,
impl<T> Sync for AttachmentWrapper<T> where
T: Sync,
impl<T> Unpin for AttachmentWrapper<T> where
T: Unpin,
impl<T> UnwindSafe for AttachmentWrapper<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