objc2_identity_lookup/generated/
ILNetworkResponse.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
14 #[derive(Debug, PartialEq, Eq, Hash)]
15 pub struct ILNetworkResponse;
16);
17
18extern_conformance!(
19 unsafe impl NSCoding for ILNetworkResponse {}
20);
21
22extern_conformance!(
23 unsafe impl NSObjectProtocol for ILNetworkResponse {}
24);
25
26extern_conformance!(
27 unsafe impl NSSecureCoding for ILNetworkResponse {}
28);
29
30impl ILNetworkResponse {
31 extern_methods!(
32 #[unsafe(method(urlResponse))]
34 #[unsafe(method_family = none)]
35 pub unsafe fn urlResponse(&self) -> Retained<NSHTTPURLResponse>;
36
37 #[unsafe(method(data))]
39 #[unsafe(method_family = none)]
40 pub unsafe fn data(&self) -> Retained<NSData>;
41
42 #[unsafe(method(init))]
43 #[unsafe(method_family = init)]
44 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
45 );
46}
47
48impl ILNetworkResponse {
50 extern_methods!(
51 #[unsafe(method(new))]
52 #[unsafe(method_family = new)]
53 pub unsafe fn new() -> Retained<Self>;
54 );
55}