pub struct DeveloperMetadataLookup {
pub location_matching_strategy: Option<String>,
pub location_type: Option<String>,
pub metadata_id: Option<i32>,
pub metadata_key: Option<String>,
pub metadata_location: Option<DeveloperMetadataLocation>,
pub metadata_value: Option<String>,
pub visibility: Option<String>,
}
Expand description
Selects DeveloperMetadata that matches all of the specified fields. For example, if only a metadata ID is specified this considers the DeveloperMetadata with that particular unique ID. If a metadata key is specified, this considers all developer metadata with that key. If a key, visibility, and location type are all specified, this considers all developer metadata with that key and visibility that are associated with a location of that type. In general, this selects all DeveloperMetadata that matches the intersection of all the specified fields; any field or combination of fields may be specified.
This type is not used in any activity, and only used as part of another schema.
Fields§
§location_matching_strategy: Option<String>
Determines how this lookup matches the location. If this field is specified as EXACT, only developer metadata associated on the exact location specified is matched. If this field is specified to INTERSECTING, developer metadata associated on intersecting locations is also matched. If left unspecified, this field assumes a default value of INTERSECTING. If this field is specified, a metadataLocation must also be specified.
location_type: Option<String>
Limits the selected developer metadata to those entries which are associated with locations of the specified type. For example, when this field is specified as ROW this lookup only considers developer metadata associated on rows. If the field is left unspecified, all location types are considered. This field cannot be specified as SPREADSHEET when the locationMatchingStrategy is specified as INTERSECTING or when the metadataLocation is specified as a non-spreadsheet location: spreadsheet metadata cannot intersect any other developer metadata location. This field also must be left unspecified when the locationMatchingStrategy is specified as EXACT.
metadata_id: Option<i32>
Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_id.
metadata_key: Option<String>
Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_key.
metadata_location: Option<DeveloperMetadataLocation>
Limits the selected developer metadata to those entries associated with the specified location. This field either matches exact locations or all intersecting locations according the specified locationMatchingStrategy.
metadata_value: Option<String>
Limits the selected developer metadata to that which has a matching DeveloperMetadata.metadata_value.
visibility: Option<String>
Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left unspecified, all developer metadata visibile to the requesting project is considered.
Trait Implementations§
Source§impl Clone for DeveloperMetadataLookup
impl Clone for DeveloperMetadataLookup
Source§fn clone(&self) -> DeveloperMetadataLookup
fn clone(&self) -> DeveloperMetadataLookup
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DeveloperMetadataLookup
impl Debug for DeveloperMetadataLookup
Source§impl Default for DeveloperMetadataLookup
impl Default for DeveloperMetadataLookup
Source§fn default() -> DeveloperMetadataLookup
fn default() -> DeveloperMetadataLookup
Source§impl<'de> Deserialize<'de> for DeveloperMetadataLookup
impl<'de> Deserialize<'de> for DeveloperMetadataLookup
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>,
Source§impl Serialize for DeveloperMetadataLookup
impl Serialize for DeveloperMetadataLookup
impl Part for DeveloperMetadataLookup
Auto Trait Implementations§
impl Freeze for DeveloperMetadataLookup
impl RefUnwindSafe for DeveloperMetadataLookup
impl Send for DeveloperMetadataLookup
impl Sync for DeveloperMetadataLookup
impl Unpin for DeveloperMetadataLookup
impl UnwindSafe for DeveloperMetadataLookup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more