pub struct SecretMove {
pub path: String,
pub name: String,
pub direction: String,
pub step: Option<String>,
}Expand description
One stored secret whose reading moved when a landing replaced a GitHub workflow: the replaced file read it and the rendered file does not, or the reverse.
SATISFIES landing:ownership-is-elementary
Fields§
§path: StringThe workflow, relative to the target.
name: StringThe secret’s name.
direction: Stringdropped where only the replaced file read it, new where only
the rendered file reads it.
step: Option<String>The setup step that stores a new secret, where one does.
Implementations§
Trait Implementations§
Source§impl Clone for SecretMove
impl Clone for SecretMove
Source§impl Debug for SecretMove
impl Debug for SecretMove
Source§impl<'de> Deserialize<'de> for SecretMove
impl<'de> Deserialize<'de> for SecretMove
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 SecretMove
Source§impl PartialEq for SecretMove
impl PartialEq for SecretMove
Source§impl Serialize for SecretMove
impl Serialize for SecretMove
impl StructuralPartialEq for SecretMove
Auto Trait Implementations§
impl Forget for SecretMove
impl Freeze for SecretMove
impl Move for SecretMove
impl RefUnwindSafe for SecretMove
impl Send for SecretMove
impl Sync for SecretMove
impl Unpin for SecretMove
impl UnsafeUnpin for SecretMove
impl UnwindSafe for SecretMove
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.