pub struct YBranchFixture {
pub description: String,
pub cases: Vec<YBranchCase>,
}Fields§
§description: String§cases: Vec<YBranchCase>Implementations§
Source§impl YBranchFixture
impl YBranchFixture
Sourcepub fn from_file(path: &str) -> Result<Self, ModelError>
pub fn from_file(path: &str) -> Result<Self, ModelError>
Load fixture from JSON file path.
Trait Implementations§
Source§impl Debug for YBranchFixture
impl Debug for YBranchFixture
Source§impl<'de> Deserialize<'de> for YBranchFixture
impl<'de> Deserialize<'de> for YBranchFixture
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 YBranchFixture
impl RefUnwindSafe for YBranchFixture
impl Send for YBranchFixture
impl Sync for YBranchFixture
impl Unpin for YBranchFixture
impl UnsafeUnpin for YBranchFixture
impl UnwindSafe for YBranchFixture
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