pub struct Member {
pub key: Option<PublicKey>,
pub box_key: Option<BoxPublic>,
pub url: Option<String>,
pub relay: Option<String>,
pub dir: Option<PathBuf>,
pub roles: Vec<String>,
pub skills: Vec<String>,
pub description: String,
}Expand description
[members.<name>].
Fields§
§key: Option<PublicKey>Its public key (read from dir when that is set).
box_key: Option<BoxPublic>Its X25519 key, for what passes through a relay (read from dir when that is set).
url: Option<String>Its A2A endpoint (https://…/a2a/<team>).
relay: Option<String>The member that relays requests to it.
dir: Option<PathBuf>Its bot directory on this machine (local teams).
roles: Vec<String>Team roles.
skills: Vec<String>Skills, for skill:<name> targets and the directory.
description: StringWhat it does.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Member
impl<'de> Deserialize<'de> for Member
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
impl Eq for Member
impl StructuralPartialEq for Member
Auto Trait Implementations§
impl Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnsafeUnpin for Member
impl UnwindSafe for Member
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