#[non_exhaustive]pub struct DiscoveryFlags {
pub created: Option<u8>,
pub uploaded: Option<u8>,
}Expand description
Discovery flags sub-object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.created: Option<u8>Created flag.
uploaded: Option<u8>Uploaded flag.
Trait Implementations§
Source§impl Clone for DiscoveryFlags
impl Clone for DiscoveryFlags
Source§fn clone(&self) -> DiscoveryFlags
fn clone(&self) -> DiscoveryFlags
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiscoveryFlags
impl Debug for DiscoveryFlags
Source§impl Default for DiscoveryFlags
impl Default for DiscoveryFlags
Source§fn default() -> DiscoveryFlags
fn default() -> DiscoveryFlags
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DiscoveryFlags
impl<'de> Deserialize<'de> for DiscoveryFlags
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
Auto Trait Implementations§
impl Freeze for DiscoveryFlags
impl RefUnwindSafe for DiscoveryFlags
impl Send for DiscoveryFlags
impl Sync for DiscoveryFlags
impl Unpin for DiscoveryFlags
impl UnsafeUnpin for DiscoveryFlags
impl UnwindSafe for DiscoveryFlags
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