pub struct ConnectorPolicy {
pub connector_id: Option<Uuid>,
pub data: Option<HashMap<String, Value>>,
pub domains: Option<Vec<Value>>,
pub migrate: Option<bool>,
}
Expand description
ConnectorPolicy :
Fields§
§connector_id: Option<Uuid>
§data: Option<HashMap<String, Value>>
§domains: Option<Vec<Value>>
§migrate: Option<bool>
Implementations§
source§impl ConnectorPolicy
impl ConnectorPolicy
sourcepub fn new() -> ConnectorPolicy
pub fn new() -> ConnectorPolicy
Trait Implementations§
source§impl Clone for ConnectorPolicy
impl Clone for ConnectorPolicy
source§fn clone(&self) -> ConnectorPolicy
fn clone(&self) -> ConnectorPolicy
Returns a copy 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 ConnectorPolicy
impl Debug for ConnectorPolicy
source§impl Default for ConnectorPolicy
impl Default for ConnectorPolicy
source§fn default() -> ConnectorPolicy
fn default() -> ConnectorPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConnectorPolicy
impl<'de> Deserialize<'de> for ConnectorPolicy
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 PartialEq for ConnectorPolicy
impl PartialEq for ConnectorPolicy
source§fn eq(&self, other: &ConnectorPolicy) -> bool
fn eq(&self, other: &ConnectorPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConnectorPolicy
impl Serialize for ConnectorPolicy
impl StructuralPartialEq for ConnectorPolicy
Auto Trait Implementations§
impl RefUnwindSafe for ConnectorPolicy
impl Send for ConnectorPolicy
impl Sync for ConnectorPolicy
impl Unpin for ConnectorPolicy
impl UnwindSafe for ConnectorPolicy
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