pub struct QueryParam {
pub name: String,
pub field_type: UnifiedType,
pub documentation: Option<String>,
pub resource_reference: Option<ResourceReference>,
}Expand description
A query parameter for HTTP requests
Fields§
§name: StringParameter name
field_type: UnifiedTypeParsed type of the query parameter
documentation: Option<String>Documentation from protobuf field comments
resource_reference: Option<ResourceReference>Resource reference annotation, if present on the corresponding proto field.
child_typenon-empty: this param scopes a parent of that resource type (e.g.catalog_namewithchild_type = "unitycatalog.io/Schema").r#typenon-empty: this param directly identifies a resource of that type.
Implementations§
Source§impl QueryParam
impl QueryParam
Sourcepub fn is_optional(&self) -> bool
pub fn is_optional(&self) -> bool
Denotes if the parameter is optional
Trait Implementations§
Source§impl Clone for QueryParam
impl Clone for QueryParam
Source§fn clone(&self) -> QueryParam
fn clone(&self) -> QueryParam
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 QueryParam
impl Debug for QueryParam
Source§impl From<QueryParam> for RequestParam
impl From<QueryParam> for RequestParam
Source§fn from(param: QueryParam) -> Self
fn from(param: QueryParam) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QueryParam
impl RefUnwindSafe for QueryParam
impl Send for QueryParam
impl Sync for QueryParam
impl Unpin for QueryParam
impl UnsafeUnpin for QueryParam
impl UnwindSafe for QueryParam
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
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>
Converts
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>
Converts
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