pub struct CodesignOptions<'a> {
pub identity: &'a str,
pub target: &'a Path,
pub entitlements: Option<&'a Path>,
pub identifier: Option<&'a str>,
pub hardened_runtime: bool,
pub timestamp: bool,
}Available on macOS and crate feature
apple only.Expand description
Options for hardened-runtime codesigning.
Fields§
§identity: &'a strSigning identity. Use - for ad-hoc signing.
target: &'a PathFile or bundle to sign.
entitlements: Option<&'a Path>Optional entitlements plist.
identifier: Option<&'a str>Optional explicit signing identifier.
hardened_runtime: boolInclude --options runtime.
timestamp: boolInclude --timestamp. Ignored for ad-hoc signatures.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for CodesignOptions<'a>
impl<'a> Clone for CodesignOptions<'a>
Auto Trait Implementations§
impl<'a> Forget for CodesignOptions<'a>
impl<'a> Freeze for CodesignOptions<'a>
impl<'a> Move for CodesignOptions<'a>
impl<'a> RefUnwindSafe for CodesignOptions<'a>
impl<'a> Send for CodesignOptions<'a>
impl<'a> Sync for CodesignOptions<'a>
impl<'a> Unpin for CodesignOptions<'a>
impl<'a> UnsafeUnpin for CodesignOptions<'a>
impl<'a> UnwindSafe for CodesignOptions<'a>
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