Struct switch_caller_profile

Source
#[repr(C)]
pub struct switch_caller_profile {
Show 42 fields pub username: *const c_char, pub dialplan: *const c_char, pub caller_id_name: *const c_char, pub caller_id_number: *const c_char, pub orig_caller_id_name: *const c_char, pub orig_caller_id_number: *const c_char, pub callee_id_name: *const c_char, pub callee_id_number: *const c_char, pub caller_ton: u8, pub caller_numplan: u8, pub network_addr: *const c_char, pub ani: *const c_char, pub ani_ton: u8, pub ani_numplan: u8, pub aniii: *const c_char, pub rdnis: *const c_char, pub rdnis_ton: u8, pub rdnis_numplan: u8, pub destination_number: *mut c_char, pub destination_number_ton: u8, pub destination_number_numplan: u8, pub source: *const c_char, pub chan_name: *mut c_char, pub uuid: *mut c_char, pub context: *const c_char, pub profile_index: *const c_char, pub flags: switch_caller_profile_flag_t, pub originator_caller_profile: *mut switch_caller_profile, pub originatee_caller_profile: *mut switch_caller_profile, pub origination_caller_profile: *mut switch_caller_profile, pub hunt_caller_profile: *mut switch_caller_profile, pub times: *mut switch_channel_timetable, pub old_times: *mut switch_channel_timetable, pub caller_extension: *mut switch_caller_extension, pub pool: *mut switch_memory_pool_t, pub next: *mut switch_caller_profile, pub direction: switch_call_direction_t, pub logical_direction: switch_call_direction_t, pub soft: *mut profile_node_t, pub uuid_str: *mut c_char, pub clone_of: *mut c_char, pub transfer_source: *mut c_char,
}
Expand description

\brief Call Specific Data

Fields§

§username: *const c_char

The Call’s User Name

§dialplan: *const c_char

The name of the dialplan

§caller_id_name: *const c_char

Caller ID Name

§caller_id_number: *const c_char

Caller ID Number

§orig_caller_id_name: *const c_char

Original Caller ID Name

§orig_caller_id_number: *const c_char

Original Caller ID Number

§callee_id_name: *const c_char

Callee ID Name

§callee_id_number: *const c_char

Callee ID Number

§caller_ton: u8§caller_numplan: u8§network_addr: *const c_char

Caller Network Address (when applicable)

§ani: *const c_char

ANI (when applicable)

§ani_ton: u8§ani_numplan: u8§aniii: *const c_char

ANI II (when applicable)

§rdnis: *const c_char

RDNIS

§rdnis_ton: u8§rdnis_numplan: u8§destination_number: *mut c_char

Destination Number

§destination_number_ton: u8§destination_number_numplan: u8§source: *const c_char

channel type

§chan_name: *mut c_char

channel name

§uuid: *mut c_char

unique id

§context: *const c_char

context

§profile_index: *const c_char

profile index

§flags: switch_caller_profile_flag_t

flags

§originator_caller_profile: *mut switch_caller_profile§originatee_caller_profile: *mut switch_caller_profile§origination_caller_profile: *mut switch_caller_profile§hunt_caller_profile: *mut switch_caller_profile§times: *mut switch_channel_timetable§old_times: *mut switch_channel_timetable§caller_extension: *mut switch_caller_extension§pool: *mut switch_memory_pool_t§next: *mut switch_caller_profile§direction: switch_call_direction_t§logical_direction: switch_call_direction_t§soft: *mut profile_node_t§uuid_str: *mut c_char§clone_of: *mut c_char§transfer_source: *mut c_char

Trait Implementations§

Source§

impl Clone for switch_caller_profile

Source§

fn clone(&self) -> switch_caller_profile

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for switch_caller_profile

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for switch_caller_profile

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.