pub struct PostPermissions {
pub view_wall: bool,
pub post_to_wall: bool,
pub delete_from_wall: bool,
pub view_status: bool,
pub post_to_status: bool,
}Fields§
§view_wall: bool§post_to_wall: bool§delete_from_wall: bool§view_status: bool§post_to_status: boolTrait Implementations§
Source§impl Clone for PostPermissions
impl Clone for PostPermissions
Source§fn clone(&self) -> PostPermissions
fn clone(&self) -> PostPermissions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PostPermissions
impl Debug for PostPermissions
Source§impl<'de> Deserialize<'de> for PostPermissions
impl<'de> Deserialize<'de> for PostPermissions
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
impl Eq for PostPermissions
Source§impl PartialEq for PostPermissions
impl PartialEq for PostPermissions
Source§fn eq(&self, other: &PostPermissions) -> bool
fn eq(&self, other: &PostPermissions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PostPermissions
impl Serialize for PostPermissions
impl StructuralPartialEq for PostPermissions
Auto Trait Implementations§
impl Freeze for PostPermissions
impl RefUnwindSafe for PostPermissions
impl Send for PostPermissions
impl Sync for PostPermissions
impl Unpin for PostPermissions
impl UnsafeUnpin for PostPermissions
impl UnwindSafe for PostPermissions
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