pub struct CertificateCreateRequest {
pub certificate_type: String,
pub out_dir: String,
pub common_name: Option<String>,
}Fields§
§certificate_type: StringThe kind of certificate to issue. One of development, distribution, mac_app_distribution, mac_installer_distribution, developer_id_application.
out_dir: StringDirectory to write the private key and issued certificate into. It is created if missing; the key is written with owner-only permissions.
common_name: Option<String>Subject common name for the signing request. Apple replaces the subject on the certificate it issues, so this only labels the request itself. Defaults to smbcloud-ascapi.
Trait Implementations§
Source§impl Clone for CertificateCreateRequest
impl Clone for CertificateCreateRequest
Source§impl Debug for CertificateCreateRequest
impl Debug for CertificateCreateRequest
Source§impl<'de> Deserialize<'de> for CertificateCreateRequest
impl<'de> Deserialize<'de> for CertificateCreateRequest
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 CertificateCreateRequest
impl JsonSchema for CertificateCreateRequest
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 CertificateCreateRequest
impl RefUnwindSafe for CertificateCreateRequest
impl Send for CertificateCreateRequest
impl Sync for CertificateCreateRequest
impl Unpin for CertificateCreateRequest
impl UnsafeUnpin for CertificateCreateRequest
impl UnwindSafe for CertificateCreateRequest
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