pub struct SessionWarningData {
pub message: String,
pub url: Option<String>,
pub warning_type: String,
}Expand description
Warning message for timeline display with categorization
Fields§
§message: StringHuman-readable warning message for display in the timeline
url: Option<String>Optional URL associated with this warning that the user can open in a browser
warning_type: StringCategory of warning (e.g., “subscription”, “policy”, “mcp”)
Trait Implementations§
Source§impl Clone for SessionWarningData
impl Clone for SessionWarningData
Source§fn clone(&self) -> SessionWarningData
fn clone(&self) -> SessionWarningData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionWarningData
impl Debug for SessionWarningData
Source§impl<'de> Deserialize<'de> for SessionWarningData
impl<'de> Deserialize<'de> for SessionWarningData
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 SessionWarningData
impl RefUnwindSafe for SessionWarningData
impl Send for SessionWarningData
impl Sync for SessionWarningData
impl Unpin for SessionWarningData
impl UnsafeUnpin for SessionWarningData
impl UnwindSafe for SessionWarningData
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