Trait ITAgent_Impl
pub trait ITAgent_Impl: IDispatch_Impl {
Show 17 methods
// Required methods
fn EnumerateAgentSessions(&self) -> Result<IEnumAgentSession>;
fn CreateSession(
&self,
pacdgroup: Ref<'_, ITACDGroup>,
paddress: Ref<'_, ITAddress>,
) -> Result<ITAgentSession>;
fn CreateSessionWithPIN(
&self,
pacdgroup: Ref<'_, ITACDGroup>,
paddress: Ref<'_, ITAddress>,
ppin: &BSTR,
) -> Result<ITAgentSession>;
fn ID(&self) -> Result<BSTR>;
fn User(&self) -> Result<BSTR>;
fn SetState(&self, agentstate: AGENT_STATE) -> Result<()>;
fn State(&self) -> Result<AGENT_STATE>;
fn SetMeasurementPeriod(&self, lperiod: i32) -> Result<()>;
fn MeasurementPeriod(&self) -> Result<i32>;
fn OverallCallRate(&self) -> Result<CY>;
fn NumberOfACDCalls(&self) -> Result<i32>;
fn NumberOfIncomingCalls(&self) -> Result<i32>;
fn NumberOfOutgoingCalls(&self) -> Result<i32>;
fn TotalACDTalkTime(&self) -> Result<i32>;
fn TotalACDCallTime(&self) -> Result<i32>;
fn TotalWrapUpTime(&self) -> Result<i32>;
fn AgentSessions(&self) -> Result<VARIANT>;
}
Required Methods§
fn EnumerateAgentSessions(&self) -> Result<IEnumAgentSession>
fn CreateSession( &self, pacdgroup: Ref<'_, ITACDGroup>, paddress: Ref<'_, ITAddress>, ) -> Result<ITAgentSession>
fn CreateSessionWithPIN( &self, pacdgroup: Ref<'_, ITACDGroup>, paddress: Ref<'_, ITAddress>, ppin: &BSTR, ) -> Result<ITAgentSession>
fn ID(&self) -> Result<BSTR>
fn User(&self) -> Result<BSTR>
fn SetState(&self, agentstate: AGENT_STATE) -> Result<()>
fn State(&self) -> Result<AGENT_STATE>
fn SetMeasurementPeriod(&self, lperiod: i32) -> Result<()>
fn MeasurementPeriod(&self) -> Result<i32>
fn OverallCallRate(&self) -> Result<CY>
fn NumberOfACDCalls(&self) -> Result<i32>
fn NumberOfIncomingCalls(&self) -> Result<i32>
fn NumberOfOutgoingCalls(&self) -> Result<i32>
fn TotalACDTalkTime(&self) -> Result<i32>
fn TotalACDCallTime(&self) -> Result<i32>
fn TotalWrapUpTime(&self) -> Result<i32>
fn AgentSessions(&self) -> Result<VARIANT>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.