pub struct ServiceResponseConfig {
pub match_rule: ServiceMatchRule,
pub response: ServiceResponse,
}Expand description
服务响应配置
Fields§
§match_rule: ServiceMatchRule匹配规则
response: ServiceResponse响应内容
Trait Implementations§
Source§impl Clone for ServiceResponseConfig
impl Clone for ServiceResponseConfig
Source§fn clone(&self) -> ServiceResponseConfig
fn clone(&self) -> ServiceResponseConfig
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 moreAuto Trait Implementations§
impl !Freeze for ServiceResponseConfig
impl !RefUnwindSafe for ServiceResponseConfig
impl Send for ServiceResponseConfig
impl Sync for ServiceResponseConfig
impl Unpin for ServiceResponseConfig
impl UnsafeUnpin for ServiceResponseConfig
impl !UnwindSafe for ServiceResponseConfig
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