pub struct AgentDisplayConfigEntry {
pub type_: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub hide_title: bool,
}Fields§
§type_: Option<String>§title: Option<String>§description: Option<String>§hide_title: boolImplementations§
Source§impl AgentDisplayConfigEntry
impl AgentDisplayConfigEntry
pub fn new(type_: &str) -> Self
pub fn with_hide_title(self) -> Self
pub fn with_title(self, title: &str) -> Self
pub fn with_description(self, description: &str) -> Self
Trait Implementations§
Source§impl Clone for AgentDisplayConfigEntry
impl Clone for AgentDisplayConfigEntry
Source§fn clone(&self) -> AgentDisplayConfigEntry
fn clone(&self) -> AgentDisplayConfigEntry
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 AgentDisplayConfigEntry
impl Debug for AgentDisplayConfigEntry
Source§impl Default for AgentDisplayConfigEntry
impl Default for AgentDisplayConfigEntry
Source§fn default() -> AgentDisplayConfigEntry
fn default() -> AgentDisplayConfigEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentDisplayConfigEntry
impl<'de> Deserialize<'de> for AgentDisplayConfigEntry
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 AgentDisplayConfigEntry
impl RefUnwindSafe for AgentDisplayConfigEntry
impl Send for AgentDisplayConfigEntry
impl Sync for AgentDisplayConfigEntry
impl Unpin for AgentDisplayConfigEntry
impl UnwindSafe for AgentDisplayConfigEntry
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