pub struct SwitchLog {
pub id: String,
pub from_channel_id: String,
pub to_channel_id: String,
pub reason: String,
pub cost_record_id: Option<String>,
pub created_at: String,
}Expand description
A switch/redirect event between channels.
Fields§
§id: StringUUID primary key.
from_channel_id: StringChannel that traffic was switched from.
to_channel_id: StringChannel that traffic was switched to.
reason: StringReason for the switch.
cost_record_id: Option<String>Optional reference to a cost record at switch time.
created_at: StringWhen the switch occurred (RFC 3339).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SwitchLog
impl<'de> Deserialize<'de> for SwitchLog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SwitchLog
impl RefUnwindSafe for SwitchLog
impl Send for SwitchLog
impl Sync for SwitchLog
impl Unpin for SwitchLog
impl UnsafeUnpin for SwitchLog
impl UnwindSafe for SwitchLog
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