pub struct SecretNeed {
pub name: String,
pub host: String,
pub owner: Owner,
}Expand description
One credential an artifact needs, and who is expected to supply it.
Fields§
§name: StringThe {{secret.NAME}} the code writes.
host: StringThe only destination it may be spent against.
owner: OwnerWhose credential it is.
Trait Implementations§
Source§impl Clone for SecretNeed
impl Clone for SecretNeed
Source§impl Debug for SecretNeed
impl Debug for SecretNeed
Source§impl<'de> Deserialize<'de> for SecretNeed
impl<'de> Deserialize<'de> for SecretNeed
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 SecretNeed
impl PartialEq for SecretNeed
Source§impl Serialize for SecretNeed
impl Serialize for SecretNeed
impl StructuralPartialEq for SecretNeed
Auto Trait Implementations§
impl Forget for SecretNeed
impl Freeze for SecretNeed
impl Move for SecretNeed
impl RefUnwindSafe for SecretNeed
impl Send for SecretNeedwhere
RawVecInner: Send,
impl Sync for SecretNeedwhere
RawVecInner: Sync,
impl Unpin for SecretNeed
impl UnsafeUnpin for SecretNeed
impl UnwindSafe for SecretNeedwhere
RawVecInner: UnwindSafe,
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