pub struct OrgOptinView {
pub can_manage: Option<bool>,
pub display: Option<String>,
pub listed: Option<bool>,
}Fields§
§can_manage: Option<bool>CanManage is true only for an admin of this org (or a platform SuperAdmin) — the callers whose write of the org preference will be accepted.
display: Option<String>Display is the name shown for the org on that board. Empty when none was chosen; opting in without one defaults it to the org id.
listed: Option<bool>Listed is true when the org has opted onto the cross-org global board. False — the default — keeps the org off it entirely; the org’s own members still see their own board. Listing consents to publishing usage VOLUME, never spend.
Implementations§
Source§impl OrgOptinView
impl OrgOptinView
pub fn new() -> OrgOptinView
Trait Implementations§
Source§impl Clone for OrgOptinView
impl Clone for OrgOptinView
Source§fn clone(&self) -> OrgOptinView
fn clone(&self) -> OrgOptinView
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 OrgOptinView
impl Debug for OrgOptinView
Source§impl Default for OrgOptinView
impl Default for OrgOptinView
Source§fn default() -> OrgOptinView
fn default() -> OrgOptinView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrgOptinView
impl<'de> Deserialize<'de> for OrgOptinView
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 OrgOptinView
impl PartialEq for OrgOptinView
Source§impl Serialize for OrgOptinView
impl Serialize for OrgOptinView
impl StructuralPartialEq for OrgOptinView
Auto Trait Implementations§
impl Freeze for OrgOptinView
impl RefUnwindSafe for OrgOptinView
impl Send for OrgOptinView
impl Sync for OrgOptinView
impl Unpin for OrgOptinView
impl UnsafeUnpin for OrgOptinView
impl UnwindSafe for OrgOptinView
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