pub struct MacOSNotarizeApiConfig {
pub issuer_id: Option<String>,
pub key: Option<String>,
pub key_id: Option<String>,
pub timeout: Option<HumanDuration>,
pub wait: Option<bool>,
}Expand description
App Store Connect API key configuration for rcodesign notary-submit.
Fields§
§issuer_id: Option<String>App Store Connect API key issuer UUID. Templates allowed.
key: Option<String>Path to .p8 key file or base64-encoded contents. Templates allowed.
key_id: Option<String>API key ID. Templates allowed.
timeout: Option<HumanDuration>Timeout for notarization status polling. Humantime-style string
(e.g. "10m", "15s", "1h"). Default when omitted: "10m".
wait: Option<bool>Whether to wait for notarization to complete.
Implementations§
Source§impl MacOSNotarizeApiConfig
impl MacOSNotarizeApiConfig
Sourcepub const DEFAULT_TIMEOUT: &'static str = "10m"
pub const DEFAULT_TIMEOUT: &'static str = "10m"
Default notarization wait window (10 minutes).
Sourcepub fn resolved_wait(&self) -> bool
pub fn resolved_wait(&self) -> bool
Resolve wait, falling back to false (don’t block on notary).
Sourcepub fn resolved_timeout(&self) -> String
pub fn resolved_timeout(&self) -> String
Resolve timeout as a humantime string, falling back to
Self::DEFAULT_TIMEOUT. Returns an owned String because the
stored representation (HumanDuration) needs to be re-serialized
when materializing — there’s no zero-cost view into it.
Trait Implementations§
Source§impl Clone for MacOSNotarizeApiConfig
impl Clone for MacOSNotarizeApiConfig
Source§fn clone(&self) -> MacOSNotarizeApiConfig
fn clone(&self) -> MacOSNotarizeApiConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MacOSNotarizeApiConfig
impl Debug for MacOSNotarizeApiConfig
Source§impl Default for MacOSNotarizeApiConfig
impl Default for MacOSNotarizeApiConfig
Source§fn default() -> MacOSNotarizeApiConfig
fn default() -> MacOSNotarizeApiConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MacOSNotarizeApiConfigwhere
MacOSNotarizeApiConfig: Default,
impl<'de> Deserialize<'de> for MacOSNotarizeApiConfigwhere
MacOSNotarizeApiConfig: Default,
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 MacOSNotarizeApiConfig
impl JsonSchema for MacOSNotarizeApiConfig
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 MacOSNotarizeApiConfig
impl RefUnwindSafe for MacOSNotarizeApiConfig
impl Send for MacOSNotarizeApiConfig
impl Sync for MacOSNotarizeApiConfig
impl Unpin for MacOSNotarizeApiConfig
impl UnsafeUnpin for MacOSNotarizeApiConfig
impl UnwindSafe for MacOSNotarizeApiConfig
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