objc2_cloud_kit/generated/
CKRecordZoneID.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
12 #[derive(Debug, PartialEq, Eq, Hash)]
13 pub struct CKRecordZoneID;
14);
15
16unsafe impl NSCoding for CKRecordZoneID {}
17
18unsafe impl NSCopying for CKRecordZoneID {}
19
20unsafe impl CopyingHelper for CKRecordZoneID {
21 type Result = Self;
22}
23
24unsafe impl NSObjectProtocol for CKRecordZoneID {}
25
26unsafe impl NSSecureCoding for CKRecordZoneID {}
27
28impl CKRecordZoneID {
29 extern_methods!(
30 #[unsafe(method(init))]
32 #[unsafe(method_family = init)]
33 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
34
35 #[unsafe(method(new))]
36 #[unsafe(method_family = new)]
37 pub unsafe fn new() -> Retained<Self>;
38
39 #[unsafe(method(initWithZoneName:ownerName:))]
40 #[unsafe(method_family = init)]
41 pub unsafe fn initWithZoneName_ownerName(
42 this: Allocated<Self>,
43 zone_name: &NSString,
44 owner_name: &NSString,
45 ) -> Retained<Self>;
46
47 #[unsafe(method(zoneName))]
48 #[unsafe(method_family = none)]
49 pub unsafe fn zoneName(&self) -> Retained<NSString>;
50
51 #[unsafe(method(ownerName))]
52 #[unsafe(method_family = none)]
53 pub unsafe fn ownerName(&self) -> Retained<NSString>;
54 );
55}