pub struct TestSession {
pub created_at: String,
pub id: String,
pub name: Option<Option<String>>,
}Expand description
TestSession : Represents a test session for rate limit testing
Fields§
§created_at: StringWhen the test session was created
id: StringUnique identifier for the test session
name: Option<Option<String>>Name of the test session (optional)
Implementations§
Source§impl TestSession
impl TestSession
Sourcepub fn new(created_at: String, id: String) -> TestSession
pub fn new(created_at: String, id: String) -> TestSession
Represents a test session for rate limit testing
Trait Implementations§
Source§impl Clone for TestSession
impl Clone for TestSession
Source§fn clone(&self) -> TestSession
fn clone(&self) -> TestSession
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TestSession
impl Debug for TestSession
Source§impl Default for TestSession
impl Default for TestSession
Source§fn default() -> TestSession
fn default() -> TestSession
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestSession
impl<'de> Deserialize<'de> for TestSession
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
Source§impl PartialEq for TestSession
impl PartialEq for TestSession
Source§fn eq(&self, other: &TestSession) -> bool
fn eq(&self, other: &TestSession) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TestSession
impl Serialize for TestSession
impl StructuralPartialEq for TestSession
Auto Trait Implementations§
impl Freeze for TestSession
impl RefUnwindSafe for TestSession
impl Send for TestSession
impl Sync for TestSession
impl Unpin for TestSession
impl UnsafeUnpin for TestSession
impl UnwindSafe for TestSession
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