pub struct TcpFixture {
pub identifier: String,
pub name: String,
pub description: String,
pub match_criteria: MatchCriteria,
pub response: TcpResponse,
pub behavior: BehaviorConfig,
}Expand description
A TCP fixture defining how to handle TCP connections
Fields§
§identifier: StringUnique identifier for this fixture
name: StringHuman-readable name
description: StringDescription of what this fixture does
match_criteria: MatchCriteriaMatching criteria for incoming data
response: TcpResponseResponse configuration
behavior: BehaviorConfigBehavior simulation
Implementations§
Trait Implementations§
Source§impl Clone for TcpFixture
impl Clone for TcpFixture
Source§fn clone(&self) -> TcpFixture
fn clone(&self) -> TcpFixture
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 TcpFixture
impl Debug for TcpFixture
Source§impl<'de> Deserialize<'de> for TcpFixture
impl<'de> Deserialize<'de> for TcpFixture
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 TcpFixture
impl RefUnwindSafe for TcpFixture
impl Send for TcpFixture
impl Sync for TcpFixture
impl Unpin for TcpFixture
impl UnsafeUnpin for TcpFixture
impl UnwindSafe for TcpFixture
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