pub struct BoardScope {
pub all_orgs: Option<bool>,
pub org: Option<String>,
pub project: Option<String>,
}Fields§
§all_orgs: Option<bool>true when a platform admin is seeing every org at once
org: Option<String>the org the board covers; "" when it covers all of them
project: Option<String>the sub-scope within the org; "" is the whole org
Implementations§
Source§impl BoardScope
impl BoardScope
pub fn new() -> BoardScope
Trait Implementations§
Source§impl Clone for BoardScope
impl Clone for BoardScope
Source§fn clone(&self) -> BoardScope
fn clone(&self) -> BoardScope
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 BoardScope
impl Debug for BoardScope
Source§impl Default for BoardScope
impl Default for BoardScope
Source§fn default() -> BoardScope
fn default() -> BoardScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoardScope
impl<'de> Deserialize<'de> for BoardScope
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 BoardScope
impl PartialEq for BoardScope
Source§impl Serialize for BoardScope
impl Serialize for BoardScope
impl StructuralPartialEq for BoardScope
Auto Trait Implementations§
impl Freeze for BoardScope
impl RefUnwindSafe for BoardScope
impl Send for BoardScope
impl Sync for BoardScope
impl Unpin for BoardScope
impl UnsafeUnpin for BoardScope
impl UnwindSafe for BoardScope
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