pub struct LockSignParams {
pub key: String,
pub rotation_key: Option<String>,
}Fields§
§key: StringThe node key to sign, or the pre-approved auth key to sign. Either the
key itself or file:<path> to a file holding it; a key given directly
is written to a private file before the client is run, so it never
reaches an argument list.
rotation_key: Option<String>The rotation key to attach to a node signature, in the same two forms. Only meaningful when signing a node key.
Trait Implementations§
Source§impl Debug for LockSignParams
impl Debug for LockSignParams
Source§impl Default for LockSignParams
impl Default for LockSignParams
Source§impl<'de> Deserialize<'de> for LockSignParams
impl<'de> Deserialize<'de> for LockSignParams
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 JsonSchema for LockSignParams
impl JsonSchema for LockSignParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for LockSignParams
impl RefUnwindSafe for LockSignParams
impl Send for LockSignParams
impl Sync for LockSignParams
impl Unpin for LockSignParams
impl UnsafeUnpin for LockSignParams
impl UnwindSafe for LockSignParams
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