pub struct Parameter {
pub field_path: String,
pub target_type: String,
pub is_repeated: bool,
pub field_type: Option<i32>,
}Expand description
A path parameter extracted from the path template.
Fields§
§field_path: StringThe field path in the protobuf message.
target_type: StringThe type of the target field.
is_repeated: boolWhether the target field is repeated.
field_type: Option<i32>The protobuf field type (e.g. 12 for TYPE_BYTES).
Trait Implementations§
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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