pub struct BoardFieldEdits {
pub section: Vec<String>,
pub values: BTreeMap<String, Option<Value>>,
pub secrets: BTreeMap<String, TokenEdit>,
pub permissions: BTreeMap<String, bool>,
}Expand description
Changes to one board’s own settings.
Fields§
§section: Vec<String>The board’s config section, such as ["webBoards", "notes"].
values: BTreeMap<String, Option<Value>>A value to write, or None to remove the key.
secrets: BTreeMap<String, TokenEdit>§permissions: BTreeMap<String, bool>Trait Implementations§
Source§impl Clone for BoardFieldEdits
impl Clone for BoardFieldEdits
Auto Trait Implementations§
impl Forget for BoardFieldEdits
impl Freeze for BoardFieldEditswhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, Option<Value>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Option<Value>)>>: Freeze,
*const LeafNode<String, TokenEdit> is !null: Freeze,
PhantomData<Box<(String, TokenEdit)>>: Freeze,
*const LeafNode<String, bool> is !null: Freeze,
PhantomData<Box<(String, bool)>>: Freeze,
impl Move for BoardFieldEdits
impl RefUnwindSafe for BoardFieldEdits
impl Send for BoardFieldEdits
impl Sync for BoardFieldEdits
impl Unpin for BoardFieldEdits
impl UnsafeUnpin for BoardFieldEditswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, Option<Value>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Option<Value>)>>: UnsafeUnpin,
*const LeafNode<String, TokenEdit> is !null: UnsafeUnpin,
PhantomData<Box<(String, TokenEdit)>>: UnsafeUnpin,
*const LeafNode<String, bool> is !null: UnsafeUnpin,
PhantomData<Box<(String, bool)>>: UnsafeUnpin,
impl UnwindSafe for BoardFieldEditswhere
RawVecInner: UnwindSafe,
BTreeMap<String, Option<Value>>: UnwindSafe,
BTreeMap<String, TokenEdit>: UnwindSafe,
BTreeMap<String, bool>: UnwindSafe,
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