pub struct EntityGrantResponse {
pub grants: Option<Vec<EntityGrant>>,
pub grant: Option<Box<EntityGrant>>,
}
Expand description
EntityGrantResponse : Entity grant API response object.
Fields§
§grants: Option<Vec<EntityGrant>>
§grant: Option<Box<EntityGrant>>
Implementations§
Source§impl EntityGrantResponse
impl EntityGrantResponse
Sourcepub fn new() -> EntityGrantResponse
pub fn new() -> EntityGrantResponse
Entity grant API response object.
Trait Implementations§
Source§impl Clone for EntityGrantResponse
impl Clone for EntityGrantResponse
Source§fn clone(&self) -> EntityGrantResponse
fn clone(&self) -> EntityGrantResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EntityGrantResponse
impl Debug for EntityGrantResponse
Source§impl Default for EntityGrantResponse
impl Default for EntityGrantResponse
Source§fn default() -> EntityGrantResponse
fn default() -> EntityGrantResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityGrantResponse
impl<'de> Deserialize<'de> for EntityGrantResponse
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 PartialEq for EntityGrantResponse
impl PartialEq for EntityGrantResponse
Source§impl Serialize for EntityGrantResponse
impl Serialize for EntityGrantResponse
impl StructuralPartialEq for EntityGrantResponse
Auto Trait Implementations§
impl Freeze for EntityGrantResponse
impl RefUnwindSafe for EntityGrantResponse
impl Send for EntityGrantResponse
impl Sync for EntityGrantResponse
impl Unpin for EntityGrantResponse
impl UnwindSafe for EntityGrantResponse
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