pub trait MediaSubscriptionTrait {
// Required methods
fn get_authenticator(&self) -> &[AuthenticatorProperty];
fn take_authenticator(&mut self) -> Vec<AuthenticatorProperty>;
fn get_expects_acceptance_of(&self) -> &[ExpectsAcceptanceOfProperty];
fn take_expects_acceptance_of(&mut self) -> Vec<ExpectsAcceptanceOfProperty>;
}
Expand description
This trait is for properties from https://schema.org/MediaSubscription.
Required Methods§
sourcefn get_authenticator(&self) -> &[AuthenticatorProperty]
fn get_authenticator(&self) -> &[AuthenticatorProperty]
Get https://schema.org/authenticator from Self
as borrowed slice.
sourcefn take_authenticator(&mut self) -> Vec<AuthenticatorProperty>
fn take_authenticator(&mut self) -> Vec<AuthenticatorProperty>
Take https://schema.org/authenticator from Self
as owned vector.
sourcefn get_expects_acceptance_of(&self) -> &[ExpectsAcceptanceOfProperty]
fn get_expects_acceptance_of(&self) -> &[ExpectsAcceptanceOfProperty]
Get https://schema.org/expectsAcceptanceOf from Self
as borrowed slice.
sourcefn take_expects_acceptance_of(&mut self) -> Vec<ExpectsAcceptanceOfProperty>
fn take_expects_acceptance_of(&mut self) -> Vec<ExpectsAcceptanceOfProperty>
Take https://schema.org/expectsAcceptanceOf from Self
as owned vector.