pub struct ExpectedField {
pub name: String,
pub field_type: FieldType,
pub required: bool,
pub pattern: Option<String>,
pub enum_values: Vec<String>,
}Expand description
Expected output field definition
Fields§
§name: StringField name (e.g., “REPO”, “BRANCH”)
field_type: FieldTypeField type
required: boolWhether this field is required
pattern: Option<String>Optional validation pattern (regex)
enum_values: Vec<String>Optional enum values for validation
Trait Implementations§
Source§impl Clone for ExpectedField
impl Clone for ExpectedField
Source§fn clone(&self) -> ExpectedField
fn clone(&self) -> ExpectedField
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 ExpectedField
impl Debug for ExpectedField
Source§impl<'de> Deserialize<'de> for ExpectedField
impl<'de> Deserialize<'de> for ExpectedField
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
Auto Trait Implementations§
impl Freeze for ExpectedField
impl RefUnwindSafe for ExpectedField
impl Send for ExpectedField
impl Sync for ExpectedField
impl Unpin for ExpectedField
impl UnsafeUnpin for ExpectedField
impl UnwindSafe for ExpectedField
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