Trait schema_org_types::RentActionTrait
source · pub trait RentActionTrait {
// Required methods
fn get_landlord(&self) -> &[LandlordProperty];
fn take_landlord(&mut self) -> Vec<LandlordProperty>;
fn get_real_estate_agent(&self) -> &[RealEstateAgentProperty];
fn take_real_estate_agent(&mut self) -> Vec<RealEstateAgentProperty>;
}
Expand description
This trait is for properties from https://schema.org/RentAction.
Required Methods§
sourcefn get_landlord(&self) -> &[LandlordProperty]
fn get_landlord(&self) -> &[LandlordProperty]
Get https://schema.org/landlord from Self
as borrowed slice.
sourcefn take_landlord(&mut self) -> Vec<LandlordProperty>
fn take_landlord(&mut self) -> Vec<LandlordProperty>
Take https://schema.org/landlord from Self
as owned vector.
sourcefn get_real_estate_agent(&self) -> &[RealEstateAgentProperty]
fn get_real_estate_agent(&self) -> &[RealEstateAgentProperty]
Get https://schema.org/realEstateAgent from Self
as borrowed slice.
sourcefn take_real_estate_agent(&mut self) -> Vec<RealEstateAgentProperty>
fn take_real_estate_agent(&mut self) -> Vec<RealEstateAgentProperty>
Take https://schema.org/realEstateAgent from Self
as owned vector.