Hi,
I want to store the RegistrationToken returned by insert_source in a structure as below example. What is the right way to initialize the token variable to a default value..
struct Test {
token : RegistrationToken,
}
impl Test{
new() ->Test {
return Test {
token : // how to initialize to dummy/default RegistrationToken value
};
}
}
Hi, I want to store the RegistrationToken returned by insert_source in a structure as below example. What is the right way to initialize the token variable to a default value..
Any help on this will be appreciated..