pub struct FeedPermission {
pub display_name: Option<String>,
pub identity_descriptor: Option<String>,
pub identity_id: Option<String>,
pub is_inherited_role: Option<bool>,
pub role: Option<Role>,
}Expand description
Permissions for a feed.
Fields§
§display_name: Option<String>Display name for the identity.
identity_descriptor: Option<String>Identity associated with this role.
identity_id: Option<String>Id of the identity associated with this role.
is_inherited_role: Option<bool>Boolean indicating whether the role is inherited or set directly.
role: Option<Role>The role for this identity on a feed.
Implementations§
Trait Implementations§
Source§impl Clone for FeedPermission
impl Clone for FeedPermission
Source§fn clone(&self) -> FeedPermission
fn clone(&self) -> FeedPermission
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FeedPermission
impl Debug for FeedPermission
Source§impl Default for FeedPermission
impl Default for FeedPermission
Source§fn default() -> FeedPermission
fn default() -> FeedPermission
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeedPermission
impl<'de> Deserialize<'de> for FeedPermission
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 FeedPermission
impl PartialEq for FeedPermission
Source§impl Serialize for FeedPermission
impl Serialize for FeedPermission
impl StructuralPartialEq for FeedPermission
Auto Trait Implementations§
impl Freeze for FeedPermission
impl RefUnwindSafe for FeedPermission
impl Send for FeedPermission
impl Sync for FeedPermission
impl Unpin for FeedPermission
impl UnwindSafe for FeedPermission
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