pub fn message(&self, _ctx: &Context) -> Result<String> {
        // If it's not yet release time,
        // return an error.
        if now() < self.message_release_time {
            return Err("Message is not yet released.".to_string());
        }
        Ok(self.message.clone())
    }
/// Get the message. Anyone can do this *if* the time the message becomes public is in the past.
Get the message. Anyone can do this *if* the time the message becomes public is in the past.
Get the message . Anyone can do this * if * the time the message becomes public is in the past .
pub fn message(&self, _ctx: &Context) -> Result<String> {
        // If it's not yet release time,
        // return an error.
        if now() < self.message_release_time {
            return Err("Message is not yet released.".to_string());
        }
        Ok(self.message.clone())
    }
pub fn message ( & self , _ctx : & Context ) -> Result < String > { // If it's not yet release time, // return an error. if now ( ) < self . message_release_time { return Err ( " " . to_string ( ) ) ; } Ok ( self . message . clone ( ) ) }
Get the message.
Get the message .
&self
_ctx
&Context