pub enum TopicUpdateEntry {
Conventional {
security: bool,
packages: HashMap<String, Option<String>>,
packages_v2: HashMap<String, Option<String>>,
name: HashMap<String, String>,
caution: Option<HashMap<String, String>>,
must_match_all: bool,
},
Cumulative {
name: HashMap<String, String>,
caution: Option<HashMap<String, String>>,
topics: Vec<String>,
security: bool,
},
}Variants§
Trait Implementations§
Source§impl Debug for TopicUpdateEntry
impl Debug for TopicUpdateEntry
Source§impl<'de> Deserialize<'de> for TopicUpdateEntry
impl<'de> Deserialize<'de> for TopicUpdateEntry
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
Source§impl<'a> From<&'a TopicUpdateEntry> for TopicUpdateEntryRef<'a>
impl<'a> From<&'a TopicUpdateEntry> for TopicUpdateEntryRef<'a>
Source§fn from(value: &'a TopicUpdateEntry) -> Self
fn from(value: &'a TopicUpdateEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TopicUpdateEntry
impl RefUnwindSafe for TopicUpdateEntry
impl Send for TopicUpdateEntry
impl Sync for TopicUpdateEntry
impl Unpin for TopicUpdateEntry
impl UnsafeUnpin for TopicUpdateEntry
impl UnwindSafe for TopicUpdateEntry
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