pub struct DependabotPublicKey {
pub key_id: String,
pub key: String,
}Expand description
DependabotPublicKey : The public key used for setting Dependabot Secrets.
Fields§
§key_id: StringThe identifier for the key.
key: StringThe Base64 encoded public key.
Implementations§
Source§impl DependabotPublicKey
impl DependabotPublicKey
Sourcepub fn new(key_id: String, key: String) -> DependabotPublicKey
pub fn new(key_id: String, key: String) -> DependabotPublicKey
The public key used for setting Dependabot Secrets.
Trait Implementations§
Source§impl Clone for DependabotPublicKey
impl Clone for DependabotPublicKey
Source§fn clone(&self) -> DependabotPublicKey
fn clone(&self) -> DependabotPublicKey
Returns a duplicate of the value. Read more
1.0.0 · 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 DependabotPublicKey
impl Debug for DependabotPublicKey
Source§impl Default for DependabotPublicKey
impl Default for DependabotPublicKey
Source§fn default() -> DependabotPublicKey
fn default() -> DependabotPublicKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependabotPublicKey
impl<'de> Deserialize<'de> for DependabotPublicKey
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 DependabotPublicKey
impl PartialEq for DependabotPublicKey
Source§impl Serialize for DependabotPublicKey
impl Serialize for DependabotPublicKey
impl StructuralPartialEq for DependabotPublicKey
Auto Trait Implementations§
impl Freeze for DependabotPublicKey
impl RefUnwindSafe for DependabotPublicKey
impl Send for DependabotPublicKey
impl Sync for DependabotPublicKey
impl Unpin for DependabotPublicKey
impl UnwindSafe for DependabotPublicKey
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