Trait schema_org_types::LendActionTrait
source · pub trait LendActionTrait {
// Required methods
fn get_borrower(&self) -> &[BorrowerProperty];
fn take_borrower(&mut self) -> Vec<BorrowerProperty>;
}
Expand description
This trait is for properties from https://schema.org/LendAction.
Required Methods§
sourcefn get_borrower(&self) -> &[BorrowerProperty]
fn get_borrower(&self) -> &[BorrowerProperty]
Get https://schema.org/borrower from Self
as borrowed slice.
sourcefn take_borrower(&mut self) -> Vec<BorrowerProperty>
fn take_borrower(&mut self) -> Vec<BorrowerProperty>
Take https://schema.org/borrower from Self
as owned vector.