Struct fiberplane_models::proxies::Proxy
source · #[non_exhaustive]pub struct Proxy {
pub id: Base64Uuid,
pub name: Name,
pub status: ProxyStatus,
pub data_sources: Vec<DataSource>,
pub token: Option<ProxyToken>,
pub description: Option<String>,
pub created_at: Timestamp,
pub updated_at: Timestamp,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Base64Uuid§name: Name§status: ProxyStatus§data_sources: Vec<DataSource>§token: Option<ProxyToken>§description: Option<String>§created_at: Timestamp§updated_at: TimestampImplementations§
source§impl Proxy
impl Proxy
sourcepub fn builder() -> ProxyBuilder<((), (), (), (), (), (), (), ())>
pub fn builder() -> ProxyBuilder<((), (), (), (), (), (), (), ())>
Create a builder for building Proxy.
On the builder, call .id(...), .name(...), .status(...), .data_sources(...)(optional), .token(...)(optional), .description(...)(optional), .created_at(...), .updated_at(...) to set the values of the fields.
Finally, call .build() to create the instance of Proxy.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Proxy
impl<'de> Deserialize<'de> for Proxy
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
source§impl From<Proxy> for ProxySummary
impl From<Proxy> for ProxySummary
source§impl PartialEq for Proxy
impl PartialEq for Proxy
impl Eq for Proxy
impl StructuralPartialEq for Proxy
Auto Trait Implementations§
impl Freeze for Proxy
impl RefUnwindSafe for Proxy
impl Send for Proxy
impl Sync for Proxy
impl Unpin for Proxy
impl UnwindSafe for Proxy
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