pub enum GetProgramByIdResponse {
SuccessfulOperation(Program),
InvalidIDSupplied,
ProgramNotFound,
}Variants§
SuccessfulOperation(Program)
Successful operation
InvalidIDSupplied
Invalid ID supplied
ProgramNotFound
program not found
Trait Implementations§
Source§impl Debug for GetProgramByIdResponse
impl Debug for GetProgramByIdResponse
Source§impl<'de> Deserialize<'de> for GetProgramByIdResponse
impl<'de> Deserialize<'de> for GetProgramByIdResponse
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 GetProgramByIdResponse
impl PartialEq for GetProgramByIdResponse
Source§impl Serialize for GetProgramByIdResponse
impl Serialize for GetProgramByIdResponse
impl StructuralPartialEq for GetProgramByIdResponse
Auto Trait Implementations§
impl Freeze for GetProgramByIdResponse
impl RefUnwindSafe for GetProgramByIdResponse
impl Send for GetProgramByIdResponse
impl Sync for GetProgramByIdResponse
impl Unpin for GetProgramByIdResponse
impl UnwindSafe for GetProgramByIdResponse
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