pub struct PinnedGate {
pub id: String,
pub command: String,
pub when_paths: Vec<String>,
}Expand description
One pack gate declaration copied into the approval pin. Flight Rules
checker execution consumes this snapshot, never a later mission-worktree
lookup, so changing pack.toml on the mission branch cannot rewrite the
command that judges that same mission.
Fields§
§id: String§command: String§when_paths: Vec<String>Trait Implementations§
Source§impl Clone for PinnedGate
impl Clone for PinnedGate
Source§fn clone(&self) -> PinnedGate
fn clone(&self) -> PinnedGate
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 PinnedGate
impl Debug for PinnedGate
Source§impl<'de> Deserialize<'de> for PinnedGate
impl<'de> Deserialize<'de> for PinnedGate
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 Eq for PinnedGate
Source§impl PartialEq for PinnedGate
impl PartialEq for PinnedGate
Source§impl Serialize for PinnedGate
impl Serialize for PinnedGate
impl StructuralPartialEq for PinnedGate
Auto Trait Implementations§
impl Freeze for PinnedGate
impl RefUnwindSafe for PinnedGate
impl Send for PinnedGate
impl Sync for PinnedGate
impl Unpin for PinnedGate
impl UnsafeUnpin for PinnedGate
impl UnwindSafe for PinnedGate
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