pub struct ReqIf {
pub xmlns: String,
pub xmlns_xhtml: String,
pub the_header: TheHeader,
pub core_content: CoreContent,
}
Fields§
§xmlns: String
§xmlns_xhtml: String
§the_header: TheHeader
§core_content: CoreContent
Implementations§
Source§impl ReqIf
impl ReqIf
pub fn new( identifier: String, creation_time: DateTime<Local>, repository_id: String, req_if_tool_id: String, source_tool_id: String, title: String, ) -> Self
pub fn add_requirement(&mut self, requirement: SpecObjectRequirement)
pub fn build_module_specification( &mut self, identifier: String, last_change: String, long_name: String, ) -> Specification
pub fn add_specification(&mut self, specification: Specification)
pub fn get_module_specification_type(&self) -> &String
pub fn write_to(&self, filename: &str) -> Result<()>
Trait Implementations§
Source§impl YaSerialize for ReqIf
impl YaSerialize for ReqIf
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace, ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
impl StructuralPartialEq for ReqIf
Auto Trait Implementations§
impl Freeze for ReqIf
impl RefUnwindSafe for ReqIf
impl Send for ReqIf
impl Sync for ReqIf
impl Unpin for ReqIf
impl UnwindSafe for ReqIf
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