pub struct Profile {
pub token: Option<String>,
pub workspace_id: Option<String>,
pub default_list: Option<String>,
pub timezone: Option<String>,
pub timeout_secs: Option<u64>,
pub default_task_limit: Option<usize>,
pub aliases: BTreeMap<String, String>,
pub tokens: BTreeMap<String, String>,
pub active_workspaces: Vec<String>,
}Fields§
§token: Option<String>§workspace_id: Option<String>§default_list: Option<String>§timezone: Option<String>§timeout_secs: Option<u64>§default_task_limit: Option<usize>§aliases: BTreeMap<String, String>§tokens: BTreeMap<String, String>Workspace id → token, for accounts whose tokens each reach a single
workspace. token is the fallback for workspaces not listed here.
active_workspaces: Vec<String>Workspaces that read commands (task search, standup) query together.
Fewer than two means single-workspace mode on workspace_id.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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 Profile
Auto Trait Implementations§
impl Forget for Profile
impl Freeze for Profile
impl Move for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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