pub struct ProjectTrust {
pub path: String,
pub decision: TrustDecision,
pub decided_at: Option<i64>,
pub decided_by: Option<String>,
}Expand description
Trust configuration for a project.
Fields§
§path: StringThe project path (normalized).
decision: TrustDecisionThe trust decision.
decided_at: Option<i64>When the decision was made (Unix timestamp in milliseconds).
decided_by: Option<String>Who made the decision (user, auto, etc.).
Trait Implementations§
Source§impl Clone for ProjectTrust
impl Clone for ProjectTrust
Source§impl Debug for ProjectTrust
impl Debug for ProjectTrust
Source§impl<'de> Deserialize<'de> for ProjectTrust
impl<'de> Deserialize<'de> for ProjectTrust
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
Auto Trait Implementations§
impl Freeze for ProjectTrust
impl RefUnwindSafe for ProjectTrust
impl Send for ProjectTrust
impl Sync for ProjectTrust
impl Unpin for ProjectTrust
impl UnsafeUnpin for ProjectTrust
impl UnwindSafe for ProjectTrust
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