objc2_pass_kit/generated/
PKIdentityIntentToStore.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
16 #[derive(Debug, PartialEq, Eq, Hash)]
17 pub struct PKIdentityIntentToStore;
18);
19
20extern_conformance!(
21 unsafe impl NSCopying for PKIdentityIntentToStore {}
22);
23
24unsafe impl CopyingHelper for PKIdentityIntentToStore {
25 type Result = Self;
26}
27
28extern_conformance!(
29 unsafe impl NSObjectProtocol for PKIdentityIntentToStore {}
30);
31
32impl PKIdentityIntentToStore {
33 extern_methods!(
34 #[unsafe(method(willNotStoreIntent))]
37 #[unsafe(method_family = none)]
38 pub unsafe fn willNotStoreIntent() -> Retained<PKIdentityIntentToStore>;
39
40 #[unsafe(method(mayStoreIntent))]
42 #[unsafe(method_family = none)]
43 pub unsafe fn mayStoreIntent() -> Retained<PKIdentityIntentToStore>;
44
45 #[unsafe(method(mayStoreIntentForDays:))]
47 #[unsafe(method_family = none)]
48 pub unsafe fn mayStoreIntentForDays(days: NSInteger) -> Retained<Self>;
49
50 #[unsafe(method(init))]
51 #[unsafe(method_family = init)]
52 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
53
54 #[unsafe(method(new))]
55 #[unsafe(method_family = new)]
56 pub unsafe fn new() -> Retained<Self>;
57 );
58}