/// Get all relationships where the given SPDX ID is the SPDX element id.
Get all relationships where the given SPDX ID is the SPDX element id.
Get all relationships where the given SPDX ID is the SPDX element id .
pub fn relationships_for_spdx_id(&self, spdx_id: &str) -> Vec<&Relationship> {
        self.relationships
            .iter()
            .filter(|relationship| relationship.spdx_element_id == spdx_id)
            .collect()
    }
pub fn relationships_for_spdx_id ( & self , spdx_id : & str ) -> Vec < & Relationship > { self . relationships . iter ( ) . filter ( | relationship | relationship . spdx_element_id == spdx_id ) . collect ( ) }
Get all relationships where the given SPDX ID is the SPDX element id.
Get all relationships where the given SPDX ID is the SPDX element id .
&self
spdx_id
&str