pub struct AIPartner { /* private fields */ }Expand description
A complex resource.
This struct represents the complex resource $complex.
Implementations§
Source§impl AIPartner
impl AIPartner
Sourcepub fn to_type(&self) -> ResourceType
pub fn to_type(&self) -> ResourceType
Converts this resource to a ResourceType.
Sourcepub fn to_generic(self) -> GenericResource
pub fn to_generic(self) -> GenericResource
Converts this resource to a GenericResource.
Sourcepub fn to_complex(self) -> ComplexResource
pub fn to_complex(self) -> ComplexResource
Converts this resource to a ComplexResource.
Sourcepub fn to_complex_type(&self) -> ComplexResourceType
pub fn to_complex_type(&self) -> ComplexResourceType
Returns the ComplexResourceType of this resource.
Trait Implementations§
Source§impl Resource for AIPartner
impl Resource for AIPartner
Source§fn to_static_str(&self) -> &'static str
fn to_static_str(&self) -> &'static str
Returns a static string representation of the resource.
impl Eq for AIPartner
impl StructuralPartialEq for AIPartner
Auto Trait Implementations§
impl Freeze for AIPartner
impl RefUnwindSafe for AIPartner
impl Send for AIPartner
impl Sync for AIPartner
impl Unpin for AIPartner
impl UnwindSafe for AIPartner
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