#[non_exhaustive]pub struct BusinessGlossaryEvent {
pub message: String,
pub event_type: EventType,
pub resource: String,
/* private fields */
}Expand description
Payload associated with Business Glossary related log events.
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.message: StringThe log message.
event_type: EventTypeThe type of the event.
resource: StringName of the resource.
Implementations§
Source§impl BusinessGlossaryEvent
impl BusinessGlossaryEvent
pub fn new() -> Self
Sourcepub fn set_message<T: Into<String>>(self, v: T) -> Self
pub fn set_message<T: Into<String>>(self, v: T) -> Self
Sets the value of message.
Sourcepub fn set_event_type<T: Into<EventType>>(self, v: T) -> Self
pub fn set_event_type<T: Into<EventType>>(self, v: T) -> Self
Sets the value of event_type.
Sourcepub fn set_resource<T: Into<String>>(self, v: T) -> Self
pub fn set_resource<T: Into<String>>(self, v: T) -> Self
Sets the value of resource.
Trait Implementations§
Source§impl Clone for BusinessGlossaryEvent
impl Clone for BusinessGlossaryEvent
Source§fn clone(&self) -> BusinessGlossaryEvent
fn clone(&self) -> BusinessGlossaryEvent
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 BusinessGlossaryEvent
impl Debug for BusinessGlossaryEvent
Source§impl Default for BusinessGlossaryEvent
impl Default for BusinessGlossaryEvent
Source§fn default() -> BusinessGlossaryEvent
fn default() -> BusinessGlossaryEvent
Returns the “default value” for a type. Read more
Source§impl Message for BusinessGlossaryEvent
impl Message for BusinessGlossaryEvent
Source§impl PartialEq for BusinessGlossaryEvent
impl PartialEq for BusinessGlossaryEvent
impl StructuralPartialEq for BusinessGlossaryEvent
Auto Trait Implementations§
impl Freeze for BusinessGlossaryEvent
impl RefUnwindSafe for BusinessGlossaryEvent
impl Send for BusinessGlossaryEvent
impl Sync for BusinessGlossaryEvent
impl Unpin for BusinessGlossaryEvent
impl UnwindSafe for BusinessGlossaryEvent
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