pub struct SubjectProxy<'a> { /* private fields */ }
Implementations§
Source§impl<'a> SubjectProxy<'a>
impl<'a> SubjectProxy<'a>
pub fn new( perspective: &'a PerspectiveProxy, subject_class: String, base: String, ) -> Self
pub async fn property_names(&self) -> Result<Vec<String>>
pub async fn get_property_values(&self) -> Result<BTreeMap<String, String>>
pub async fn collection_names(&self) -> Result<Vec<String>>
pub async fn get_collection_values( &self, ) -> Result<BTreeMap<String, Vec<String>>>
pub async fn set_property( &self, property: &String, value: &String, ) -> Result<()>
pub async fn add_collection( &self, collection: &String, new_element: &String, ) -> Result<()>
Auto Trait Implementations§
impl<'a> Freeze for SubjectProxy<'a>
impl<'a> RefUnwindSafe for SubjectProxy<'a>
impl<'a> Send for SubjectProxy<'a>
impl<'a> Sync for SubjectProxy<'a>
impl<'a> Unpin for SubjectProxy<'a>
impl<'a> UnwindSafe for SubjectProxy<'a>
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