pub struct Meta {
pub collapser_key: Option<String>,
pub content_available: Option<bool>,
pub delay_while_idle: Option<bool>,
pub dry_run: Option<bool>,
pub priority: Option<Priority>,
pub restricted_package_name: Option<String>,
pub time_to_live: Option<u32>,
pub mutable_content: Option<bool>,
}
Fields§
§collapser_key: Option<String>
§content_available: Option<bool>
§delay_while_idle: Option<bool>
§dry_run: Option<bool>
§priority: Option<Priority>
§restricted_package_name: Option<String>
§time_to_live: Option<u32>
§mutable_content: Option<bool>
Implementations§
Source§impl Meta
impl Meta
Sourcepub fn new<'fn_lifetime>() -> MetaBuilder<'fn_lifetime, (), (), (), (), (), (), (), (), (), ()>
pub fn new<'fn_lifetime>() -> MetaBuilder<'fn_lifetime, (), (), (), (), (), (), (), (), (), ()>
Creating a builder.
§Optional Fields
§collapser_key
- Type:
Into<Option < String >>
- Default:
None
§content_available
- Type:
Into<Option < bool >>
- Default:
None
§delay_while_idle
- Type:
Into<Option < bool >>
- Default:
None
§dry_run
- Type:
Into<Option < bool >>
- Default:
None
§mutable_content
- Type:
Into<Option < bool >>
- Default:
None
§priority
- Type:
Into<Option < Priority >>
- Default:
None
§restricted_package_name
- Type:
Into<Option < String >>
- Default:
None
§time_to_live
- Type:
Into<Option < u32 >>
- Default:
None
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Meta
impl StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnwindSafe for Meta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.