pub struct UpdateCatalogEntryData {
pub catalog_id: [u8; 32],
pub course_title: Option<String>,
pub title_commitment: Option<[u8; 32]>,
pub course_level: Option<u8>,
pub credit_hours: Option<u16>,
pub credit_commitment: Option<[u8; 32]>,
pub nonce: u64,
}Expand description
SRC-817 UpdateCatalogEntry (catalog_op::UPDATE_CATALOG_ENTRY).
Fields§
§catalog_id: [u8; 32]§course_title: Option<String>§title_commitment: Option<[u8; 32]>§course_level: Option<u8>CourseLevel code, if changing it.
credit_hours: Option<u16>§credit_commitment: Option<[u8; 32]>§nonce: u64Trait Implementations§
Source§impl Clone for UpdateCatalogEntryData
impl Clone for UpdateCatalogEntryData
Source§fn clone(&self) -> UpdateCatalogEntryData
fn clone(&self) -> UpdateCatalogEntryData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateCatalogEntryData
impl Debug for UpdateCatalogEntryData
Source§impl<'de> Deserialize<'de> for UpdateCatalogEntryData
impl<'de> Deserialize<'de> for UpdateCatalogEntryData
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 UpdateCatalogEntryData
impl PartialEq for UpdateCatalogEntryData
Source§fn eq(&self, other: &UpdateCatalogEntryData) -> bool
fn eq(&self, other: &UpdateCatalogEntryData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateCatalogEntryData
impl Serialize for UpdateCatalogEntryData
impl Eq for UpdateCatalogEntryData
impl StructuralPartialEq for UpdateCatalogEntryData
Auto Trait Implementations§
impl Freeze for UpdateCatalogEntryData
impl RefUnwindSafe for UpdateCatalogEntryData
impl Send for UpdateCatalogEntryData
impl Sync for UpdateCatalogEntryData
impl Unpin for UpdateCatalogEntryData
impl UnsafeUnpin for UpdateCatalogEntryData
impl UnwindSafe for UpdateCatalogEntryData
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