pub struct Connect {
pub attributes: ConnectAttributes,
pub nested: Vec<ConnectNoun>,
}Fields§
§attributes: ConnectAttributes§nested: Vec<ConnectNoun>Implementations§
Source§impl Connect
impl Connect
pub fn new() -> Self
pub fn with_attributes(attributes: ConnectAttributes) -> Self
pub fn action(self, action: impl Into<String>) -> Self
pub fn method(self, method: impl Into<String>) -> Self
pub fn add_stream(self, stream: Stream) -> Self
pub fn add_room(self, room: Room) -> Self
pub fn add_conversation(self, conversation: Conversation) -> Self
pub fn add_virtual_agent(self, agent: VirtualAgent) -> Self
pub fn add_autopilot(self, autopilot: Autopilot) -> Self
pub fn add_ai_session(self, ai_session: AiSession) -> Self
pub fn add_conversation_relay_session( self, session: ConversationRelaySession, ) -> Self
pub fn add_assistant(self, assistant: Assistant) -> Self
pub fn add_conversation_relay(self, relay: ConversationRelay) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Connect
impl RefUnwindSafe for Connect
impl Send for Connect
impl Sync for Connect
impl Unpin for Connect
impl UnwindSafe for Connect
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