pub struct SchemaProjectionPolicy {
pub mode: ProjectionMode,
pub overrides: Vec<SchemaProjectionOverride>,
}Fields§
§mode: ProjectionMode§overrides: Vec<SchemaProjectionOverride>Implementations§
Source§impl SchemaProjectionPolicy
impl SchemaProjectionPolicy
pub fn is_default(&self) -> bool
pub fn set_override(&mut self, override_schema: SchemaProjectionOverride)
Trait Implementations§
Source§impl Clone for SchemaProjectionPolicy
impl Clone for SchemaProjectionPolicy
Source§fn clone(&self) -> SchemaProjectionPolicy
fn clone(&self) -> SchemaProjectionPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaProjectionPolicy
impl Debug for SchemaProjectionPolicy
Source§impl Default for SchemaProjectionPolicy
impl Default for SchemaProjectionPolicy
Source§fn default() -> SchemaProjectionPolicy
fn default() -> SchemaProjectionPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemaProjectionPolicy
impl<'de> Deserialize<'de> for SchemaProjectionPolicy
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SchemaProjectionPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SchemaProjectionPolicy, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SchemaProjectionPolicy
Source§impl PartialEq for SchemaProjectionPolicy
impl PartialEq for SchemaProjectionPolicy
Source§fn eq(&self, other: &SchemaProjectionPolicy) -> bool
fn eq(&self, other: &SchemaProjectionPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SchemaProjectionPolicy
impl Serialize for SchemaProjectionPolicy
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SchemaProjectionPolicy
Auto Trait Implementations§
impl Freeze for SchemaProjectionPolicy
impl RefUnwindSafe for SchemaProjectionPolicy
impl Send for SchemaProjectionPolicy
impl Sync for SchemaProjectionPolicy
impl Unpin for SchemaProjectionPolicy
impl UnsafeUnpin for SchemaProjectionPolicy
impl UnwindSafe for SchemaProjectionPolicy
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