pub struct ProjectBinding {
pub project_id: String,
pub project_name: String,
pub updated_at: String,
pub forced_until: Option<String>,
}Expand description
A resolved binding to a registered project.
Fields§
§project_id: String§project_name: String§updated_at: String§forced_until: Option<String>RFC3339 instant after which the FORCE lapses (the binding itself
survives). Only ever set by project switch --project-attribution explicit, which persists to disk and can therefore be forgotten.
Environment-provided force is exempt: it is re-asserted at every launch
by construction, so it cannot go stale and needs no expiry.
Interpreted by exactly one function, force_status.
Trait Implementations§
Source§impl Clone for ProjectBinding
impl Clone for ProjectBinding
Source§impl Debug for ProjectBinding
impl Debug for ProjectBinding
Source§impl<'de> Deserialize<'de> for ProjectBinding
impl<'de> Deserialize<'de> for ProjectBinding
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 ProjectBinding
impl PartialEq for ProjectBinding
Source§impl Serialize for ProjectBinding
impl Serialize for ProjectBinding
impl StructuralPartialEq for ProjectBinding
Auto Trait Implementations§
impl Forget for ProjectBinding
impl Freeze for ProjectBinding
impl Move for ProjectBinding
impl RefUnwindSafe for ProjectBinding
impl Send for ProjectBinding
impl Sync for ProjectBinding
impl Unpin for ProjectBinding
impl UnsafeUnpin for ProjectBinding
impl UnwindSafe for ProjectBinding
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