pub struct TraversalSpec {
pub name: Option<String>,
pub type: String,
pub path: String,
pub skip: Option<bool>,
pub select_set: Option<Vec<Box<dyn SelectionSpecTrait>>>,
}Expand description
The TraversalSpec data object type specifies how to derive a new set of objects to add to the filter.
It specifies a property path whose value is either another managed object or an array of managed objects included in the set of objects for consideration. This data object can also be named, using the “name” field in the base type.
Fields§
§name: Option<String>Name of the selection specification.
type: StringName of the object type containing the property.
path: StringName of the property to use in order to select additional objects.
skip: Option<bool>Flag to indicate whether or not to filter the object in the “path” field.
select_set: Option<Vec<Box<dyn SelectionSpecTrait>>>Optional set of selections to specify additional objects to filter.
Trait Implementations§
Source§impl Debug for TraversalSpec
impl Debug for TraversalSpec
Source§impl<'de> Deserialize<'de> for TraversalSpec
impl<'de> Deserialize<'de> for TraversalSpec
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl SelectionSpecTrait for TraversalSpec
impl SelectionSpecTrait for TraversalSpec
Source§impl Serialize for TraversalSpec
impl Serialize for TraversalSpec
Source§impl VimObjectTrait for TraversalSpec
impl VimObjectTrait for TraversalSpec
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for TraversalSpec
Auto Trait Implementations§
impl Freeze for TraversalSpec
impl !RefUnwindSafe for TraversalSpec
impl Send for TraversalSpec
impl Sync for TraversalSpec
impl Unpin for TraversalSpec
impl !UnwindSafe for TraversalSpec
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