pub struct ReleaseSigner {
pub id: String,
pub kind: Option<String>,
pub label: Option<String>,
}Expand description
One signer of a release.
JSON schema
{
"description": "One signer of a release.",
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"kind": {
"description": "`device`, `ci` or `recovery`; absent when the signer list doesn't name it.",
"type": [
"string",
"null"
]
},
"label": {
"type": [
"string",
"null"
]
}
}
}Fields§
§id: String§kind: Option<String>device, ci or recovery; absent when the signer list doesn’t name it.
label: Option<String>Implementations§
Source§impl ReleaseSigner
impl ReleaseSigner
pub fn builder() -> ReleaseSigner
Trait Implementations§
Source§impl Clone for ReleaseSigner
impl Clone for ReleaseSigner
Source§impl Debug for ReleaseSigner
impl Debug for ReleaseSigner
Source§impl<'de> Deserialize<'de> for ReleaseSigner
impl<'de> Deserialize<'de> for ReleaseSigner
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 From<&ReleaseSigner> for ReleaseSigner
impl From<&ReleaseSigner> for ReleaseSigner
Source§fn from(value: &ReleaseSigner) -> Self
fn from(value: &ReleaseSigner) -> Self
Converts to this type from the input type.
Source§impl From<ReleaseSigner> for ReleaseSigner
impl From<ReleaseSigner> for ReleaseSigner
Source§fn from(value: ReleaseSigner) -> Self
fn from(value: ReleaseSigner) -> Self
Converts to this type from the input type.
Source§impl Serialize for ReleaseSigner
impl Serialize for ReleaseSigner
Source§impl TryFrom<ReleaseSigner> for ReleaseSigner
impl TryFrom<ReleaseSigner> for ReleaseSigner
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ReleaseSigner) -> Result<Self, ConversionError>
fn try_from(value: ReleaseSigner) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ReleaseSigner
impl Freeze for ReleaseSigner
impl Move for ReleaseSigner
impl RefUnwindSafe for ReleaseSigner
impl Send for ReleaseSigner
impl Sync for ReleaseSigner
impl Unpin for ReleaseSigner
impl UnsafeUnpin for ReleaseSigner
impl UnwindSafe for ReleaseSigner
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