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