pub struct ObjectFieldSelector {
pub api_version: Option<String>,
pub field_path: Option<String>,
}Expand description
+structType=atomic
Fields§
§api_version: Option<String>Version of the schema the FieldPath is written in terms of, defaults to "v1". +optional
field_path: Option<String>Path of the field to select in the specified API version.
Implementations§
Source§impl ObjectFieldSelector
impl ObjectFieldSelector
pub fn new() -> ObjectFieldSelector
Trait Implementations§
Source§impl Clone for ObjectFieldSelector
impl Clone for ObjectFieldSelector
Source§fn clone(&self) -> ObjectFieldSelector
fn clone(&self) -> ObjectFieldSelector
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 ObjectFieldSelector
impl Debug for ObjectFieldSelector
Source§impl<'de> Deserialize<'de> for ObjectFieldSelector
impl<'de> Deserialize<'de> for ObjectFieldSelector
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 FromStr for ObjectFieldSelector
Converts Query Parameters representation (style=form, explode=false) to a ObjectFieldSelector value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for ObjectFieldSelector
Converts Query Parameters representation (style=form, explode=false) to a ObjectFieldSelector value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for ObjectFieldSelector
impl PartialEq for ObjectFieldSelector
Source§impl Serialize for ObjectFieldSelector
impl Serialize for ObjectFieldSelector
Source§impl ToString for ObjectFieldSelector
Converts the ObjectFieldSelector value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for ObjectFieldSelector
Converts the ObjectFieldSelector value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for ObjectFieldSelector
impl Validate for ObjectFieldSelector
Source§impl<'v_a> ValidateArgs<'v_a> for ObjectFieldSelector
impl<'v_a> ValidateArgs<'v_a> for ObjectFieldSelector
impl StructuralPartialEq for ObjectFieldSelector
Auto Trait Implementations§
impl Freeze for ObjectFieldSelector
impl RefUnwindSafe for ObjectFieldSelector
impl Send for ObjectFieldSelector
impl Sync for ObjectFieldSelector
impl Unpin for ObjectFieldSelector
impl UnwindSafe for ObjectFieldSelector
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