pub struct ProjectionContract { /* private fields */ }Implementations§
Source§impl ProjectionContract
impl ProjectionContract
pub fn new( id: ConceptId, name: String, namespace: String, target_format: TargetFormat, overrides: Vec<ProjectionOverride>, ) -> Self
pub fn id(&self) -> &ConceptId
pub fn name(&self) -> &str
pub fn namespace(&self) -> &str
pub fn target_format(&self) -> &TargetFormat
pub fn overrides(&self) -> &[ProjectionOverride]
Trait Implementations§
Source§impl Clone for ProjectionContract
impl Clone for ProjectionContract
Source§impl Debug for ProjectionContract
impl Debug for ProjectionContract
Source§impl<'de> Deserialize<'de> for ProjectionContract
impl<'de> Deserialize<'de> for ProjectionContract
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
Auto Trait Implementations§
impl Forget for ProjectionContract
impl Freeze for ProjectionContract
impl Move for ProjectionContract
impl RefUnwindSafe for ProjectionContract
impl Send for ProjectionContract
impl Sync for ProjectionContract
impl Unpin for ProjectionContract
impl UnsafeUnpin for ProjectionContractwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ProjectionOverride>: UnsafeUnpin,
impl UnwindSafe for ProjectionContract
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