pub struct OpenAPIServerEntity {Show 25 fields
pub server_id: String,
pub server_type: String,
pub allow_write: bool,
pub allow_delete: bool,
pub allow_admin: bool,
pub write_mode: String,
pub max_depth: u32,
pub max_cost: u32,
pub max_api_calls: u32,
pub max_loop_iterations: u32,
pub max_script_length: u32,
pub max_nesting_depth: u32,
pub execution_timeout_seconds: u32,
pub allowed_operations: HashSet<String>,
pub blocked_operations: HashSet<String>,
pub allowed_methods: HashSet<String>,
pub blocked_methods: HashSet<String>,
pub allowed_path_patterns: HashSet<String>,
pub blocked_path_patterns: HashSet<String>,
pub sensitive_path_patterns: HashSet<String>,
pub auto_approve_read_only: bool,
pub max_api_calls_for_auto_approve: u32,
pub internal_blocked_fields: HashSet<String>,
pub output_blocked_fields: HashSet<String>,
pub require_output_declaration: bool,
}Expand description
Server configuration for OpenAPI Code Mode.
Fields§
§server_id: String§server_type: String§allow_write: bool§allow_delete: bool§allow_admin: bool§write_mode: String§max_depth: u32§max_cost: u32§max_api_calls: u32§max_loop_iterations: u32§max_script_length: u32§max_nesting_depth: u32§execution_timeout_seconds: u32§allowed_operations: HashSet<String>§blocked_operations: HashSet<String>§allowed_methods: HashSet<String>§blocked_methods: HashSet<String>§allowed_path_patterns: HashSet<String>§blocked_path_patterns: HashSet<String>§sensitive_path_patterns: HashSet<String>§auto_approve_read_only: bool§max_api_calls_for_auto_approve: u32§internal_blocked_fields: HashSet<String>§output_blocked_fields: HashSet<String>§require_output_declaration: boolTrait Implementations§
Source§impl Clone for OpenAPIServerEntity
impl Clone for OpenAPIServerEntity
Source§fn clone(&self) -> OpenAPIServerEntity
fn clone(&self) -> OpenAPIServerEntity
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 OpenAPIServerEntity
impl Debug for OpenAPIServerEntity
Auto Trait Implementations§
impl Freeze for OpenAPIServerEntity
impl RefUnwindSafe for OpenAPIServerEntity
impl Send for OpenAPIServerEntity
impl Sync for OpenAPIServerEntity
impl Unpin for OpenAPIServerEntity
impl UnsafeUnpin for OpenAPIServerEntity
impl UnwindSafe for OpenAPIServerEntity
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 moreCreates a shared type from an unshared type.