pub struct GenerateOptions {
pub group: Option<Group>,
pub access_code: Option<String>,
pub tools: Option<Vec<Tool>>,
}Expand description
The opts argument of generate_agent. Dropping the returned stream closes the socket.
Fields§
§group: Option<Group>§access_code: Option<String>§tools: Option<Vec<Tool>>Trait Implementations§
Source§impl Clone for GenerateOptions
impl Clone for GenerateOptions
Source§impl Debug for GenerateOptions
impl Debug for GenerateOptions
Auto Trait Implementations§
impl !RefUnwindSafe for GenerateOptions
impl !UnwindSafe for GenerateOptions
impl Forget for GenerateOptions
impl Freeze for GenerateOptions
impl Send for GenerateOptions
impl Sync for GenerateOptions
impl Unpin for GenerateOptions
impl UnsafeUnpin for GenerateOptions
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