pub struct SubjectInfo {Show 13 fields
pub name: String,
pub description: String,
pub subject_id: String,
pub governance_id: String,
pub genesis_gov_version: u64,
pub namespace: String,
pub schema_id: String,
pub owner: String,
pub creator: String,
pub active: bool,
pub sn: u64,
pub properties: Value,
pub new_owner: Option<String>,
}Fields§
§name: String§description: String§subject_id: String§governance_id: String§genesis_gov_version: u64§namespace: String§schema_id: String§owner: String§creator: String§active: bool§sn: u64§properties: Value§new_owner: Option<String>Trait Implementations§
Source§impl Clone for SubjectInfo
impl Clone for SubjectInfo
Source§fn clone(&self) -> SubjectInfo
fn clone(&self) -> SubjectInfo
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 SubjectInfo
impl Debug for SubjectInfo
Source§impl<'de> Deserialize<'de> for SubjectInfo
impl<'de> Deserialize<'de> for SubjectInfo
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 Freeze for SubjectInfo
impl RefUnwindSafe for SubjectInfo
impl Send for SubjectInfo
impl Sync for SubjectInfo
impl Unpin for SubjectInfo
impl UnwindSafe for SubjectInfo
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