pub struct A2aServerConfig {
pub enabled: bool,
pub port: u16,
}Expand description
A2A agent server exposure configuration.
Fields§
§enabled: boolWhether to enable the embedded A2A agent server.
port: u16Port to listen on.
Trait Implementations§
Source§impl Clone for A2aServerConfig
impl Clone for A2aServerConfig
Source§fn clone(&self) -> A2aServerConfig
fn clone(&self) -> A2aServerConfig
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 A2aServerConfig
impl Debug for A2aServerConfig
Source§impl<'de> Deserialize<'de> for A2aServerConfig
impl<'de> Deserialize<'de> for A2aServerConfig
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 A2aServerConfig
impl RefUnwindSafe for A2aServerConfig
impl Send for A2aServerConfig
impl Sync for A2aServerConfig
impl Unpin for A2aServerConfig
impl UnsafeUnpin for A2aServerConfig
impl UnwindSafe for A2aServerConfig
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