pub struct UpdateOfferingData {
pub offering_id: [u8; 32],
pub term: Option<String>,
pub section: Option<String>,
pub instruction_start_at: Option<u64>,
pub instruction_end_at: Option<u64>,
pub final_grade_submission_deadline: Option<u64>,
pub nonce: u64,
}Expand description
SRC-818 UpdateOffering (offering_op::UPDATE_OFFERING).
Fields§
§offering_id: [u8; 32]§term: Option<String>§section: Option<String>§instruction_start_at: Option<u64>§instruction_end_at: Option<u64>§final_grade_submission_deadline: Option<u64>§nonce: u64Trait Implementations§
Source§impl Clone for UpdateOfferingData
impl Clone for UpdateOfferingData
Source§fn clone(&self) -> UpdateOfferingData
fn clone(&self) -> UpdateOfferingData
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 UpdateOfferingData
impl Debug for UpdateOfferingData
Source§impl<'de> Deserialize<'de> for UpdateOfferingData
impl<'de> Deserialize<'de> for UpdateOfferingData
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 UpdateOfferingData
impl PartialEq for UpdateOfferingData
Source§fn eq(&self, other: &UpdateOfferingData) -> bool
fn eq(&self, other: &UpdateOfferingData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateOfferingData
impl Serialize for UpdateOfferingData
impl Eq for UpdateOfferingData
impl StructuralPartialEq for UpdateOfferingData
Auto Trait Implementations§
impl Freeze for UpdateOfferingData
impl RefUnwindSafe for UpdateOfferingData
impl Send for UpdateOfferingData
impl Sync for UpdateOfferingData
impl Unpin for UpdateOfferingData
impl UnsafeUnpin for UpdateOfferingData
impl UnwindSafe for UpdateOfferingData
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