pub struct OptinView {
pub org: Option<Box<OrgOptinView>>,
pub user: Option<Box<UserOptinView>>,
}Fields§
§org: Option<Box<OrgOptinView>>Org is the caller’s org’s listing preference on the cross-org board, and whether this caller is allowed to change it. It is read for every caller — a member sees where their org stands even though only an admin may edit it.
user: Option<Box<UserOptinView>>User is the caller’s OWN listing preference, and whether they may change it.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OptinView
impl<'de> Deserialize<'de> for OptinView
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 StructuralPartialEq for OptinView
Auto Trait Implementations§
impl Freeze for OptinView
impl RefUnwindSafe for OptinView
impl Send for OptinView
impl Sync for OptinView
impl Unpin for OptinView
impl UnsafeUnpin for OptinView
impl UnwindSafe for OptinView
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