pub struct ProxySiteData {
pub site_id: i64,
pub domain: Box<str>,
pub backend_url: Box<str>,
pub status: Box<str>,
pub proxy_type: Box<str>,
pub cert: Option<Box<str>>,
pub cert_key: Option<Box<str>>,
pub cert_expires_at: Option<Timestamp>,
pub config: ProxySiteConfig,
pub created_by: Option<i64>,
pub created_at: Timestamp,
pub updated_at: Timestamp,
}Expand description
Proxy site data from the database
Fields§
§site_id: i64§domain: Box<str>§backend_url: Box<str>§status: Box<str>§proxy_type: Box<str>§cert: Option<Box<str>>§cert_key: Option<Box<str>>§cert_expires_at: Option<Timestamp>§config: ProxySiteConfig§created_by: Option<i64>§created_at: Timestamp§updated_at: TimestampTrait Implementations§
Source§impl Clone for ProxySiteData
impl Clone for ProxySiteData
Source§fn clone(&self) -> ProxySiteData
fn clone(&self) -> ProxySiteData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProxySiteData
impl Debug for ProxySiteData
Source§impl<'de> Deserialize<'de> for ProxySiteData
impl<'de> Deserialize<'de> for ProxySiteData
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 ProxySiteData
impl RefUnwindSafe for ProxySiteData
impl Send for ProxySiteData
impl Sync for ProxySiteData
impl Unpin for ProxySiteData
impl UnsafeUnpin for ProxySiteData
impl UnwindSafe for ProxySiteData
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