pub struct DefaultGrant {
pub root: bool,
pub workflows: bool,
pub subagents: bool,
pub user: bool,
pub agent: bool,
}Expand description
Who may call a tool by default, before configuration widens or narrows it.
Fields§
§root: bool§workflows: bool§subagents: bool§user: boolGranted to A2A user principals by default.
agent: boolGranted to A2A agent principals by default.
Trait Implementations§
Source§impl Clone for DefaultGrant
impl Clone for DefaultGrant
Source§fn clone(&self) -> DefaultGrant
fn clone(&self) -> DefaultGrant
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 moreimpl Copy for DefaultGrant
Source§impl Debug for DefaultGrant
impl Debug for DefaultGrant
impl Eq for DefaultGrant
Source§impl PartialEq for DefaultGrant
impl PartialEq for DefaultGrant
impl StructuralPartialEq for DefaultGrant
Auto Trait Implementations§
impl Freeze for DefaultGrant
impl RefUnwindSafe for DefaultGrant
impl Send for DefaultGrant
impl Sync for DefaultGrant
impl Unpin for DefaultGrant
impl UnsafeUnpin for DefaultGrant
impl UnwindSafe for DefaultGrant
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