Struct bindle::invoice::signature::SecretKeyFile
source · pub struct SecretKeyFile {
pub version: String,
pub key: Vec<SecretKeyEntry>,
}Fields§
§version: String§key: Vec<SecretKeyEntry>Implementations§
Trait Implementations§
source§impl Clone for SecretKeyFile
impl Clone for SecretKeyFile
source§fn clone(&self) -> SecretKeyFile
fn clone(&self) -> SecretKeyFile
Returns a copy 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 SecretKeyFile
impl Debug for SecretKeyFile
source§impl Default for SecretKeyFile
impl Default for SecretKeyFile
source§impl<'de> Deserialize<'de> for SecretKeyFile
impl<'de> Deserialize<'de> for SecretKeyFile
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 SecretKeyStorage for SecretKeyFile
impl SecretKeyStorage for SecretKeyFile
source§fn get_first_matching(
&self,
role: &SignatureRole,
label_match: Option<&LabelMatch>
) -> Option<&SecretKeyEntry>
fn get_first_matching( &self, role: &SignatureRole, label_match: Option<&LabelMatch> ) -> Option<&SecretKeyEntry>
Get a key appropriate for signing with the given role and optional match criteria with
LabelMatch enum. Read more
source§fn get_all_matching(
&self,
role: &SignatureRole,
label_match: Option<&LabelMatch>
) -> Vec<&SecretKeyEntry> ⓘ
fn get_all_matching( &self, role: &SignatureRole, label_match: Option<&LabelMatch> ) -> Vec<&SecretKeyEntry> ⓘ
Similar to
get_first_matching, but returns all matches rather than
just the best fit