blob: e2b8bfffd459d16f51dd8ea5bd6ed92e3e657d85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
pub type ISyndicationClient = *mut ::core::ffi::c_void;
pub type ISyndicationNode = *mut ::core::ffi::c_void;
pub type ISyndicationText = *mut ::core::ffi::c_void;
#[repr(C)]
#[doc = "*Required features: `\"Web_Syndication\"`*"]
pub struct RetrievalProgress {
pub BytesRetrieved: u32,
pub TotalBytesToRetrieve: u32,
}
impl ::core::marker::Copy for RetrievalProgress {}
impl ::core::clone::Clone for RetrievalProgress {
fn clone(&self) -> Self {
*self
}
}
pub type SyndicationAttribute = *mut ::core::ffi::c_void;
pub type SyndicationCategory = *mut ::core::ffi::c_void;
pub type SyndicationClient = *mut ::core::ffi::c_void;
pub type SyndicationContent = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Web_Syndication\"`*"]
#[repr(transparent)]
pub struct SyndicationErrorStatus(pub i32);
impl SyndicationErrorStatus {
pub const Unknown: Self = Self(0i32);
pub const MissingRequiredElement: Self = Self(1i32);
pub const MissingRequiredAttribute: Self = Self(2i32);
pub const InvalidXml: Self = Self(3i32);
pub const UnexpectedContent: Self = Self(4i32);
pub const UnsupportedFormat: Self = Self(5i32);
}
impl ::core::marker::Copy for SyndicationErrorStatus {}
impl ::core::clone::Clone for SyndicationErrorStatus {
fn clone(&self) -> Self {
*self
}
}
pub type SyndicationFeed = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Web_Syndication\"`*"]
#[repr(transparent)]
pub struct SyndicationFormat(pub i32);
impl SyndicationFormat {
pub const Atom10: Self = Self(0i32);
pub const Rss20: Self = Self(1i32);
pub const Rss10: Self = Self(2i32);
pub const Rss092: Self = Self(3i32);
pub const Rss091: Self = Self(4i32);
pub const Atom03: Self = Self(5i32);
}
impl ::core::marker::Copy for SyndicationFormat {}
impl ::core::clone::Clone for SyndicationFormat {
fn clone(&self) -> Self {
*self
}
}
pub type SyndicationGenerator = *mut ::core::ffi::c_void;
pub type SyndicationItem = *mut ::core::ffi::c_void;
pub type SyndicationLink = *mut ::core::ffi::c_void;
pub type SyndicationNode = *mut ::core::ffi::c_void;
pub type SyndicationPerson = *mut ::core::ffi::c_void;
pub type SyndicationText = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Web_Syndication\"`*"]
#[repr(transparent)]
pub struct SyndicationTextType(pub i32);
impl SyndicationTextType {
pub const Text: Self = Self(0i32);
pub const Html: Self = Self(1i32);
pub const Xhtml: Self = Self(2i32);
}
impl ::core::marker::Copy for SyndicationTextType {}
impl ::core::clone::Clone for SyndicationTextType {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
#[doc = "*Required features: `\"Web_Syndication\"`*"]
pub struct TransferProgress {
pub BytesSent: u32,
pub TotalBytesToSend: u32,
pub BytesRetrieved: u32,
pub TotalBytesToRetrieve: u32,
}
impl ::core::marker::Copy for TransferProgress {}
impl ::core::clone::Clone for TransferProgress {
fn clone(&self) -> Self {
*self
}
}
|