pub struct AddTagOutput {
pub tag: String,
pub entity: String,
/* private fields */
}Expand description
The output of an add_tag_command. This can be parsed from a LogEvent::output.
The output has the following format:
Added tag '<tag>' to <entity>For example:
Added tag 'my_tag' to my_entityFields§
§tag: StringThe tag that was added.
entity: StringThe custom name or UUID of the entity the tag was added to.
Trait Implementations§
Source§impl Clone for AddTagOutput
impl Clone for AddTagOutput
Source§fn clone(&self) -> AddTagOutput
fn clone(&self) -> AddTagOutput
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 AddTagOutput
impl Debug for AddTagOutput
Source§impl Display for AddTagOutput
impl Display for AddTagOutput
Source§impl FromStr for AddTagOutput
impl FromStr for AddTagOutput
Source§impl PartialEq for AddTagOutput
impl PartialEq for AddTagOutput
impl Eq for AddTagOutput
impl StructuralPartialEq for AddTagOutput
Auto Trait Implementations§
impl Freeze for AddTagOutput
impl RefUnwindSafe for AddTagOutput
impl Send for AddTagOutput
impl Sync for AddTagOutput
impl Unpin for AddTagOutput
impl UnwindSafe for AddTagOutput
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.