pub struct AddRelationRequest {
pub session: Option<SessionSelector>,
pub domain: DomainSelector,
pub name: PublicName,
pub subject: PublicName,
pub object: PublicName,
pub description: Option<String>,
pub agent_instructions: Option<String>,
pub ontology_namespace: Option<String>,
pub ontology_class: Option<String>,
pub intent: ModelMutationIntent,
}Fields§
§session: Option<SessionSelector>§domain: DomainSelector§name: PublicName§subject: PublicName§object: PublicName§description: Option<String>§agent_instructions: Option<String>§ontology_namespace: Option<String>§ontology_class: Option<String>§intent: ModelMutationIntentTrait Implementations§
Source§impl Clone for AddRelationRequest
impl Clone for AddRelationRequest
Source§fn clone(&self) -> AddRelationRequest
fn clone(&self) -> AddRelationRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddRelationRequest
impl Debug for AddRelationRequest
Source§impl<'de> Deserialize<'de> for AddRelationRequest
impl<'de> Deserialize<'de> for AddRelationRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AddRelationRequest
impl PartialEq for AddRelationRequest
Source§impl Serialize for AddRelationRequest
impl Serialize for AddRelationRequest
impl Eq for AddRelationRequest
impl StructuralPartialEq for AddRelationRequest
Auto Trait Implementations§
impl Freeze for AddRelationRequest
impl RefUnwindSafe for AddRelationRequest
impl Send for AddRelationRequest
impl Sync for AddRelationRequest
impl Unpin for AddRelationRequest
impl UnsafeUnpin for AddRelationRequest
impl UnwindSafe for AddRelationRequest
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