Struct ocsf_codegen::events::EventAttribute
source · pub struct EventAttribute { /* private fields */ }Implementations§
source§impl EventAttribute
impl EventAttribute
pub fn name(self, name: String) -> Self
pub fn profile(self, profile: Option<&str>) -> Self
pub fn description(self, description: String) -> Self
pub fn caption(self, value: String) -> Self
pub fn requirement(self, value: Requirement) -> Self
pub fn group(self, value: Group) -> Self
Trait Implementations§
source§impl Clone for EventAttribute
impl Clone for EventAttribute
source§fn clone(&self) -> EventAttribute
fn clone(&self) -> EventAttribute
Returns a copy 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 EventAttribute
impl Debug for EventAttribute
source§impl Default for EventAttribute
impl Default for EventAttribute
source§impl<'de> Deserialize<'de> for EventAttribute
impl<'de> Deserialize<'de> for EventAttribute
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 PartialEq<EventAttribute> for EventAttribute
impl PartialEq<EventAttribute> for EventAttribute
source§fn eq(&self, other: &EventAttribute) -> bool
fn eq(&self, other: &EventAttribute) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EventAttribute
impl Serialize for EventAttribute
impl Eq for EventAttribute
impl StructuralEq for EventAttribute
impl StructuralPartialEq for EventAttribute
Auto Trait Implementations§
impl RefUnwindSafe for EventAttribute
impl Send for EventAttribute
impl Sync for EventAttribute
impl Unpin for EventAttribute
impl UnwindSafe for EventAttribute
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.